Skip to content

Commit

Permalink
cmake: fix build if bundled qtkeychain using gcc 9.x and older
Browse files Browse the repository at this point in the history
  • Loading branch information
tehnick committed Oct 26, 2024
1 parent 24d7fce commit 4f5fcd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/modules/qtkeychain-bundled.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ include(FindPkgConfig)
include(ExternalProject)
#set CMake options and transfer the environment to an external project
set(Qtkeychain_BUILD_OPTIONS
-DCMAKE_CXX_STANDARD=14
-DCMAKE_CXX_STANDARD_REQUIRED=ON
-DBUILD_SHARED_LIBS=OFF
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
Expand Down

0 comments on commit 4f5fcd5

Please sign in to comment.