QCAMacros.cmake: re-add 25ba36180cfbf836b9458beb98e28f62349c4260 for FreeBSD

This commit is contained in:
Even Rouault 2018-06-01 13:23:49 +02:00
parent 1a4f80428d
commit 917a6e3cdc
No known key found for this signature in database
GPG Key ID: 33EBBFC47B3DD87D

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)
@ -106,7 +107,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)