Skip to content

Commit 01ba039

Browse files
committed
Update CMakeLists.txt
1 parent faf65ca commit 01ba039

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ file(GLOB SOURCES
2323
# src/*/*/*.mm
2424
#endif()
2525

26+
add_library(${PROJECT_NAME} SHARED ${SOURCES})
27+
2628
# Windows specific settings
2729
if (WIN32)
2830
# Disable annoying warnings
@@ -32,8 +34,6 @@ if (WIN32)
3234
set_target_properties(${PROJECT_NAME} PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
3335
endif()
3436

35-
add_library(${PROJECT_NAME} SHARED ${SOURCES})
36-
3737
if (NOT DEFINED ENV{GEODE_SDK})
3838
message(FATAL_ERROR "Unable to find Geode SDK! Please define GEODE_SDK environment variable to point to Geode")
3939
else()

0 commit comments

Comments
 (0)