1
0
Fork 0
mirror of https://gitlab.com/niansa/cosched.git synced 2025-03-06 20:53:26 +01:00

Compile as PIE

This commit is contained in:
niansa 2023-05-16 19:23:29 +02:00
parent 1acf3f88a1
commit 2f43b6d41b

View file

@ -11,6 +11,7 @@ add_library(cosched STATIC
basic-coro/SingleEvent.cpp
)
target_include_directories(cosched PUBLIC include/ basic-coro/include/)
set_target_properties(cosched PROPERTIES POSITION_INDEPENDENT_CODE ON)
#add_executable(test test.cpp)
#target_link_libraries(test PRIVATE cosched)