From b93b52c078bd7874180f8f128d99538a50656992 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Tue, 16 Apr 2024 16:22:15 +0200 Subject: [PATCH] Remove example_INSTALL_DIR from PREFIX_PATH on examples (#421) Signed-off-by: Jose Luis Rivero --- examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 09b5d0f0..c6bc5880 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -88,7 +88,7 @@ foreach(example ${example_directories}) # See alternate approach in a2113e0997c9 if this becomes too slow BUILD_ALWAYS 1 CMAKE_ARGS - "-DCMAKE_PREFIX_PATH=${FAKE_INSTALL_PREFIX};${example_INSTALL_DIR}" + "-DCMAKE_PREFIX_PATH=${FAKE_INSTALL_PREFIX}" "-DCMAKE_BUILD_TYPE=${build_type}" "-DCMAKE_INSTALL_PREFIX=${example_INSTALL_DIR}" TEST_COMMAND