[eigen] Why do we overwrite CMAKE_BUILD_TYPE ?

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


We have these lines in our CMakeLists.txt

string(TOLOWER "${CMAKE_BUILD_TYPE}" cmake_build_type_tolower)
if(cmake_build_type_tolower STREQUAL "debug")
  set(CMAKE_BUILD_TYPE "Debug")
else()
  set(CMAKE_BUILD_TYPE "Release")
endif()

IMHO we can safely remove this code.

- Hauke



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/