We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a01687 commit c679907Copy full SHA for c679907
lib/CMakeLists.txt
@@ -17,6 +17,9 @@ if(NOT USE_SYSTEM_CPR)
17
# long term goal is to replace the submodule in some way, e.g., by using prebuilt cpr binaries
18
set(BUILD_SHARED_LIBS OFF)
19
20
+ # make sure that static libraries (especially built cURL libs) can be linked properly
21
+ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
22
+
23
# cannot use system cURL on bionic at the moment, PR with fix sent: https://github.com/libcpr/cpr/pull/696
24
## there is no need to build our own libcurl
25
## in fact, building it as a static lib creates a whole circus of problems, and also takes time
0 commit comments