From 0a24dc49120ed19e0697f67314f64451744de8bb Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Fri, 13 Jan 2017 01:05:09 +0100 Subject: [PATCH] fix(cmake): Use `target_compile_options` for libflags Refs #308 --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 431a9d98..3e14418c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -137,7 +137,7 @@ make_executable(${PROJECT_NAME} SOURCES target_link_libraries(${PROJECT_NAME} Threads::Threads) -target_compile_definitions(${PROJECT_NAME} PUBLIC +target_compile_options(${PROJECT_NAME} PUBLIC ${X11_Xft_DEFINITIONS} ${X11_XCB_DEFINITIONS} ${XCB_DEFINITIONS})