mirror of
https://github.com/open-goal/jak-project.git
synced 2024-11-27 16:31:14 +00:00
Merge pull request #105 from water111/w/cmake-spdlog-shared-lib-fix
Fix cmake setting for spdlog
This commit is contained in:
commit
461aeadad5
@ -58,7 +58,7 @@ include_directories(SYSTEM third-party/inja)
|
||||
# adding this as a SYSTEM include suppresses all the terrible warnings in spdlog
|
||||
include_directories(SYSTEM third-party/spdlog/include)
|
||||
# this makes spdlog generate a shared library that we can link against
|
||||
set(SPDLOG_BUILD_SHARED ON)
|
||||
set(SPDLOG_BUILD_SHARED ON CACHE BOOL "a" FORCE)
|
||||
# this makes the spdlog includes not use the header only version, making compiling faster
|
||||
add_definitions(-DSPDLOG_COMPILED_LIB)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user