Skip to content

Commit

Permalink
Try to fix cmake default dynamic lib bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
crupest committed Oct 15, 2023
1 parent 9b818f4 commit fe1daee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (EMSCRIPTEN)
set(CRU_DEFAULT_BUILD_SHARED_LIBS OFF)
endif()

option(BUILD_SHARED_LIBS "Try to build shared libraries as default" CRU_DEFAULT_BUILD_SHARED_LIBS)
option(BUILD_SHARED_LIBS "Try to build shared libraries as default" ${CRU_DEFAULT_BUILD_SHARED_LIBS})

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_EXTENSIONS OFF)
Expand Down

0 comments on commit fe1daee

Please sign in to comment.