enable PIC specifically for fmt

This commit is contained in:
Jordon Brooks 2024-04-07 01:35:50 +01:00
parent e3830ccf36
commit 1b15cd1de1
Signed by: jordon
GPG key ID: DBD9758CD53E786A

View file

@ -17,8 +17,7 @@ if(NOT fmt_POPULATED)
endif() endif()
set_target_properties(fmt PROPERTIES FOLDER External) set_target_properties(fmt PROPERTIES FOLDER External)
set_target_properties(fmt PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
# Find the current Git branch and the last commit timestamp # Find the current Git branch and the last commit timestamp
find_package(Git QUIET) find_package(Git QUIET)