We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e7d6bd commit 268b571Copy full SHA for 268b571
CMakeLists.txt
@@ -16,6 +16,9 @@ include(GNUInstallDirs)
16
OPTION(ENABLE_DOCS "Enable generation of doxygen-based documentation" OFF)
17
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)
18
19
+# Turn on position independent code
20
+SET(CMAKE_POSITION_INDEPENDENT_CODE ON)
21
+
22
# Check build type.
23
if(NOT CMAKE_BUILD_TYPE MATCHES "^(Debug|Release|RelWithDebInfo|MinSizeRel)$")
24
message(STATUS "Setting build type to 'Release' as none was specified.")
0 commit comments