diff --git a/cmake/jkqtplotter_cmake_options.cmake b/cmake/jkqtplotter_cmake_options.cmake index 371a7a32c9..cf1e99f13e 100644 --- a/cmake/jkqtplotter_cmake_options.cmake +++ b/cmake/jkqtplotter_cmake_options.cmake @@ -51,7 +51,7 @@ set(jkqtplotter_default_build_type "Debug") get_property(JKQtPlotter_isMultiConfigGenerator GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG) if(NOT JKQtPlotter_isMultiConfigGenerator) if(NOT CMAKE_BUILD_TYPE) - warning(STATUS "Setting build type to '${jkqtplotter_default_build_type}' as none was specified.") + message(WARNING "Setting build type to '${jkqtplotter_default_build_type}' as none was specified.") set(CMAKE_BUILD_TYPE ${jkqtplotter_default_build_type} CACHE STRING "Choose the type of build." FORCE) set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo") endif()