Fix QCA-ssl for FreeBSD

This commit is contained in:
lbartoletti 2018-05-31 11:34:07 +02:00 committed by Nyall Dawson
parent a26b9b1de3
commit 25ba36180c

View File

@ -12,8 +12,9 @@
function(FIND_QCAOSSL_PLUGIN_CPP PLUGIN_REQUIRED)
FIND_PACKAGE(Qt5Core QUIET)
# requires Qt and QCA packages to be found
if(QT_INCLUDE_DIR AND QT_QTCORE_INCLUDE_DIR AND Qt5Core_LIBRARIES
if(Qt5Core_INCLUDE_DIRS AND Qt5Core_LIBRARIES
AND QCA_INCLUDE_DIR AND QCA_LIBRARY
AND NOT CMAKE_CROSSCOMPILING)
@ -92,7 +93,7 @@ function(FIND_QCATOOL TOOL_REQUIRED)
$ENV{OSGEO4W_ROOT}/bin
)
else()
find_program(QCATOOL_EXECUTABLE NAMES qcatool qcatool2 qcatool-qt5)
find_program(QCATOOL_EXECUTABLE NAMES qcatool-qt5 qcatool2 qcatool)
endif()
if(NOT QCATOOL_EXECUTABLE)