Skip to content

Commit

Permalink
Revert "Fix QCA-ssl for FreeBSD"
Browse files Browse the repository at this point in the history
This reverts commit 25ba361.

Breaks linux build
  • Loading branch information
nyalldawson committed May 31, 2018
1 parent 5e3ce8f commit 8bdec09
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmake/QCAMacros.cmake
Expand Up @@ -12,9 +12,8 @@

function(FIND_QCAOSSL_PLUGIN_CPP PLUGIN_REQUIRED)

FIND_PACKAGE(Qt5Core QUIET)
# requires Qt and QCA packages to be found
if(Qt5Core_INCLUDE_DIRS AND Qt5Core_LIBRARIES
if(QT_INCLUDE_DIR AND QT_QTCORE_INCLUDE_DIR AND Qt5Core_LIBRARIES
AND QCA_INCLUDE_DIR AND QCA_LIBRARY
AND NOT CMAKE_CROSSCOMPILING)

Expand Down Expand Up @@ -93,7 +92,7 @@ function(FIND_QCATOOL TOOL_REQUIRED)
$ENV{OSGEO4W_ROOT}/bin
)
else()
find_program(QCATOOL_EXECUTABLE NAMES qcatool-qt5 qcatool2 qcatool)
find_program(QCATOOL_EXECUTABLE NAMES qcatool qcatool2 qcatool-qt5)
endif()

if(NOT QCATOOL_EXECUTABLE)
Expand Down

0 comments on commit 8bdec09

Please sign in to comment.