Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
enable fPIC for acquire-core-libs (#12)
Browse files Browse the repository at this point in the history
acquire-python tests are [failing on
Ubuntu](https://github.com/acquire-project/acquire-python/actions/runs/4950559813/jobs/8854338341)
asking for position-independent code. This should fix that.
  • Loading branch information
aliddell authored May 11, 2023
1 parent 1688f15 commit 31e1c7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ enable_testing()
include(cmake/aq_require.cmake)
include(cmake/ide.cmake)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 20)

Expand Down

0 comments on commit 31e1c7b

Please sign in to comment.