From d3fe82c55b407a3421f8983ea8d47b1c99b2ae8c Mon Sep 17 00:00:00 2001 From: Mario Werner Date: Sun, 31 Jan 2016 20:17:39 +0100 Subject: [PATCH] propagate the build type into the find test --- test/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a3f134b1..0a73de42 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -120,4 +120,5 @@ add_test(find-package-test ${CMAKE_CTEST_COMMAND} "${CMAKE_CURRENT_BINARY_DIR}/find-package-test" --build-generator ${CMAKE_GENERATOR} --build-makeprogram ${CMAKE_MAKE_PROGRAM} - --build-options "-Dcppformat_DIR=${PROJECT_BINARY_DIR}") \ No newline at end of file + --build-options "-Dcppformat_DIR=${PROJECT_BINARY_DIR}" + "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}") \ No newline at end of file