From e376404d38e800523301e624834496923d931d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Wed, 9 Aug 2017 16:26:29 +0200 Subject: [PATCH] Cleanup --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c5af0ec3..31d73fec 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -75,7 +75,7 @@ set_target_properties(glfw PROPERTIES FOLDER "GLFW3") target_compile_definitions(glfw PRIVATE - -D_GLFW_USE_CONFIG_H + _GLFW_USE_CONFIG_H $<$:_XOPEN_SOURCE=500>) target_include_directories(glfw PUBLIC $ @@ -120,7 +120,7 @@ if (BUILD_SHARED_LIBS) target_compile_options(glfw PRIVATE "-fvisibility=hidden") endif() - target_compile_definitions(glfw INTERFACE -DGLFW_DLL) + target_compile_definitions(glfw INTERFACE GLFW_DLL) target_link_libraries(glfw PRIVATE ${glfw_LIBRARIES}) else() target_link_libraries(glfw INTERFACE ${glfw_LIBRARIES})