fix(cmake): Use target_compile_options for libflags

Refs #308
This commit is contained in:
Michael Carlberg 2017-01-13 01:05:09 +01:00
parent f8d387c2c0
commit 0a24dc4912

View File

@ -137,7 +137,7 @@ make_executable(${PROJECT_NAME} SOURCES
target_link_libraries(${PROJECT_NAME} Threads::Threads) target_link_libraries(${PROJECT_NAME} Threads::Threads)
target_compile_definitions(${PROJECT_NAME} PUBLIC target_compile_options(${PROJECT_NAME} PUBLIC
${X11_Xft_DEFINITIONS} ${X11_Xft_DEFINITIONS}
${X11_XCB_DEFINITIONS} ${X11_XCB_DEFINITIONS}
${XCB_DEFINITIONS}) ${XCB_DEFINITIONS})