From 2f7a1781545413a4a976f8d31ae8172c963b35a5 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Fri, 28 Feb 2020 14:29:53 +0100 Subject: [PATCH] CMake: Fix super project incorporation --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bad9589549..5cfdb91261 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)