mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
Always build static fmtlib version and fix fpic
This commit is contained in:
@@ -127,7 +127,7 @@ if(SPDLOG_TIDY)
|
||||
message(STATUS "Enabled clang-tidy")
|
||||
endif()
|
||||
|
||||
if(SPDLOG_BUILD_PIC)
|
||||
if(SPDLOG_BUILD_PIC OR SPDLOG_BUILD_SHARED)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user