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 e1b7704 commit f1d5cebCopy full SHA for f1d5ceb
src/CMakeLists.txt
@@ -1,7 +1,9 @@
1
cmake_minimum_required (VERSION 3.13)
2
3
### Basic compilation settings
4
-set (CMAKE_POSITION_INDEPENDENT_CODE TRUE)
+if (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE)
5
+ set(CMAKE_POSITION_INDEPENDENT_CODE TRUE CACHE BOOL "Build position independent code")
6
+endif()
7
set (CMAKE_CXX_STANDARD 14)
8
9
include_directories (
0 commit comments