Commit 50071ff7 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Merge branch '3-forcibly-changing-cmake_build_type-may-affect-parent-project' into 'main'

Resolve "Forcibly changing `CMAKE_BUILD_TYPE` may affect parent project"

Closes #3

See merge request !2
parents 24002873 1430d207
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -49,11 +49,7 @@ if (NOT is_multi_config)
                CACHE STRING "Choose the type of build." FORCE
                )
    elseif (NOT CMAKE_BUILD_TYPE IN_LIST allowed_build_types)
      message(WARNING "Unknown build type '${CMAKE_BUILD_TYPE}'. "
        "Defaulting to '${default_build_type}'")
      set(CMAKE_BUILD_TYPE "${default_build_type}"
        CACHE STRING "Choose the type of build." FORCE
        )
      message(WARNING "Unknown build type '${CMAKE_BUILD_TYPE}'.")
    endif ()
endif ()