mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 05:27:58 +00:00
OS X build fix
This commit is contained in:
@@ -117,7 +117,7 @@ else(NOT GEKKO)
|
||||
endif()
|
||||
|
||||
# For some reason, clang takes forever if glew.c is not built with -Os
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang" OR CMAKE_C_COMPILER_ID STREQUAL "AppleClang")
|
||||
set_source_files_properties(lib/graphicsdev/glew.c PROPERTIES COMPILE_FLAGS -Os)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user