Skip to content

Commit 938651f

Browse files
committed
objc is stupid
1 parent 5e55993 commit 938651f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ file(GLOB_RECURSE SOURCES
1010

1111
add_library(${PROJECT_NAME} SHARED ${SOURCES} src/platform/Mac.mm)
1212

13-
# This must be precompiled or cocos2d's glew.h takes over
14-
# target_precompile_headers(${PROJECT_NAME} PUBLIC GLEW/glew.h)
13+
set_source_files_properties(src/platform/Mac.mm PROPERTIES SKIP_PRECOMPILE_HEADERS ON)
1514

1615
if (NOT DEFINED ENV{GEODE_SDK})
1716
message(FATAL_ERROR "Unable to find Geode SDK! Please define GEODE_SDK environment variable to point to Geode")

0 commit comments

Comments
 (0)