Fixed the additional search paths for the dependency-workarounds.

This commit is contained in:
tastytea 2019-08-04 22:25:04 +02:00
parent d70bbd3f57
commit fd2db04aad
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ pkg_check_modules(libconfig++ REQUIRED IMPORTED_TARGET libconfig++)
find_depencency(Poco COMPONENTS Net NetSSL Util CONFIG REQUIRED) find_depencency(Poco COMPONENTS Net NetSSL Util CONFIG REQUIRED)
find_file(vsqlitepp NAMES "sqlite/connection.hpp" find_file(vsqlitepp NAMES "sqlite/connection.hpp"
PATHS ${CMAKE_INSTALL_INCLUDEDIR}) PATHS "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}")
if("${vsqlitepp}" STREQUAL "vsqlitepp-NOTFOUND") if("${vsqlitepp}" STREQUAL "vsqlitepp-NOTFOUND")
message(FATAL_ERROR "Could not find vsqlite++.") message(FATAL_ERROR "Could not find vsqlite++.")

View File

@ -31,7 +31,7 @@ if(PocoNetSSL_FOUND)
PRIVATE Poco::Net Poco::NetSSL Poco::Util) PRIVATE Poco::Net Poco::NetSSL Poco::Util)
else() else()
find_file(Poco_h NAMES "Poco/Poco.h" find_file(Poco_h NAMES "Poco/Poco.h"
PATHS ${CMAKE_INSTALL_INCLUDEDIR}) PATHS "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}")
if("${Poco_h}" STREQUAL "Poco_h-NOTFOUND") if("${Poco_h}" STREQUAL "Poco_h-NOTFOUND")
message(FATAL_ERROR "Could not find POCO.") message(FATAL_ERROR "Could not find POCO.")