We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent c123d3b commit eca83e3Copy full SHA for eca83e3
cmake/QCAMacros.cmake
@@ -44,7 +44,10 @@ function(FIND_QCAOSSL_PLUGIN_CPP PLUGIN_REQUIRED)
44
45
try_run(RUN_RESULT COMPILE_RESULT
46
${CMAKE_BINARY_DIR} ${TESTCPP}
47
- CMAKE_FLAGS "-DCMAKE_CXX_STANDARD=11" "${QCA_INCLUDE_DIRECTORIES}" "${QCA_LINK_LIBRARIES}"
+ CMAKE_FLAGS "-DCMAKE_CXX_STANDARD=11"
48
+ "-DCMAKE_POSITION_INDEPENDENT_CODE=ON"
49
+ "${QCA_INCLUDE_DIRECTORIES}"
50
+ "${QCA_LINK_LIBRARIES}"
51
COMPILE_OUTPUT_VARIABLE COMPILE_OUTPUT
52
)
53
0 commit comments