diff --git a/CMakeLists.txt b/CMakeLists.txt index a055a5c8d..a3a5702f1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -67,7 +67,7 @@ function(createBuildInfo) if (CMAKE_BUILD_TYPE) set(_cmake_build_type ${CMAKE_BUILD_TYPE}) else() - set(_cmake_build_type "undefined") + set(_cmake_build_type "${CMAKE_CFG_INTDIR}") endif() # Generate header file containing useful build information