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