Commit 68e69213 by David Coeurjolly

Fixing cmake issue with empty cmake_build_type

parent d18ebcb9
...@@ -45,7 +45,9 @@ set_target_properties(cxx03_test ...@@ -45,7 +45,9 @@ set_target_properties(cxx03_test
add_test(cxx03 cxx03_test --benchmark_min_time=0.01) add_test(cxx03 cxx03_test --benchmark_min_time=0.01)
# Add the coverage command(s) # Add the coverage command(s)
string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_LOWER) if(CMAKE_BUILD_TYPE)
string(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_LOWER)
endif()
if (${CMAKE_BUILD_TYPE_LOWER} MATCHES "coverage") if (${CMAKE_BUILD_TYPE_LOWER} MATCHES "coverage")
find_program(GCOV gcov) find_program(GCOV gcov)
find_program(LCOV lcov) find_program(LCOV lcov)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment