CMake: Fix super project incorporation

This commit is contained in:
Corentin Le Molgat
2020-02-28 14:29:53 +01:00
parent 65838793f6
commit 2f7a178154

View File

@@ -135,7 +135,7 @@ message(STATUS "XPRESS support: ${USE_XPRESS}")
# Build Needed dependencies
add_subdirectory(cmake/dependencies dependencies)
list(APPEND CMAKE_PREFIX_PATH ${CMAKE_BINARY_DIR}/dependencies/install)
list(APPEND CMAKE_PREFIX_PATH ${CMAKE_CURRENT_BINARY_DIR}/dependencies/install)
include(CTest)