Skip to content
Snippets Groups Projects
Commit 9d926373 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Force dependencies to be position independent code

parent 20cced1f
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ project(deps) ...@@ -3,6 +3,7 @@ project(deps)
include(FetchContent) include(FetchContent)
set(CMAKE_FOLDER "Third Party") set(CMAKE_FOLDER "Third Party")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
FetchContent_Declare( FetchContent_Declare(
Catch2 Catch2
...@@ -41,4 +42,5 @@ endif() ...@@ -41,4 +42,5 @@ endif()
#Download the rest of the libraries #Download the rest of the libraries
FetchContent_MakeAvailable(fmt) FetchContent_MakeAvailable(fmt)
set(CMAKE_FOLDER "") unset(CMAKE_FOLDER)
unset(CMAKE_POSITION_INDEPENDENT_CODE)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment