propagate the build type into the find test

This commit is contained in:
Mario Werner 2016-01-31 20:17:39 +01:00
parent a659d8079e
commit d3fe82c55b

View File

@ -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}")
--build-options "-Dcppformat_DIR=${PROJECT_BINARY_DIR}"
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")