Skip to content

Commit

Permalink
Fix x86_64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAssassin committed Jan 17, 2022
1 parent 6a01687 commit c679907
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ if(NOT USE_SYSTEM_CPR)
# long term goal is to replace the submodule in some way, e.g., by using prebuilt cpr binaries
set(BUILD_SHARED_LIBS OFF)

# make sure that static libraries (especially built cURL libs) can be linked properly
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

# cannot use system cURL on bionic at the moment, PR with fix sent: https://github.com/libcpr/cpr/pull/696
## there is no need to build our own libcurl
## in fact, building it as a static lib creates a whole circus of problems, and also takes time
Expand Down

0 comments on commit c679907

Please sign in to comment.