mirror of https://github.com/UberGames/rpgxEF.git
enable PIC for catch library objects
This commit is contained in:
parent
09a50369c9
commit
8cbd692961
|
@ -3,4 +3,7 @@ cmake_minimum_required(VERSION 3.10)
|
|||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
add_library(catch2_main OBJECT runner.cpp)
|
||||
add_library(catch2_symbols OBJECT UnitTest.cpp)
|
||||
set_property(TARGET catch2_main PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
add_library(catch2_symbols OBJECT UnitTest.cpp)
|
||||
set_property(TARGET catch2_symbols PROPERTY POSITION_INDEPENDENT_CODE ON)
|
Loading…
Reference in New Issue