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