Skip to content

Commit

Permalink
Partially revert 9bb3235
Browse files Browse the repository at this point in the history
The -DCMAKE_POSITION_INDEPENDENT_CODE=ON resolves to -fPIE instead
of -fPIC (on some platforms?) rendering cmake broken.
  • Loading branch information
m-kuhn committed Nov 23, 2016
1 parent eeafe67 commit d559d7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/QCAMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
function(FIND_QCAOSSL_PLUGIN_CPP PLUGIN_REQUIRED)

# requires Qt and QCA packages to be found
if(QT_INCLUDES AND Qt5Core_LIBRARIES
if(QT_INCLUDE_DIR AND QT_QTCORE_INCLUDE_DIR AND QT_QTCORE_LIBRARY
AND QCA_INCLUDE_DIR AND QCA_LIBRARY
AND NOT CMAKE_CROSSCOMPILING)

Expand Down

0 comments on commit d559d7f

Please sign in to comment.