From bf7c0e9ffce3e9eba99310bc81c3e37b2e21ad6b Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 24 Jan 2018 22:16:18 -0800 Subject: Updated build rules for File2String to avoid issues with clean build command --- Graphics/GraphicsEngineOpenGL/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Graphics/GraphicsEngineOpenGL') diff --git a/Graphics/GraphicsEngineOpenGL/CMakeLists.txt b/Graphics/GraphicsEngineOpenGL/CMakeLists.txt index 457e1253..3ff8988d 100644 --- a/Graphics/GraphicsEngineOpenGL/CMakeLists.txt +++ b/Graphics/GraphicsEngineOpenGL/CMakeLists.txt @@ -99,9 +99,8 @@ elseif(PLATFORM_LINUX) elseif(PLATFORM_MACOS) list(APPEND SOURCE src/GLContextMacOS.cpp) list(APPEND INCLUDE include/GLContextMacOS.h) - set_source_files_properties( - src/GLContextMacOS.cpp - COMPILE_FLAGS "-x objective-c++" + set_source_files_properties(src/GLContextMacOS.cpp + PROPERTIES COMPILE_FLAGS "-x objective-c++" ) else() message(FATAL_ERROR "Unknown platform") -- cgit v1.2.3