diff --git a/MyxCMake/modules/MyxCMakeRequiredVariables.cmake b/MyxCMake/modules/MyxCMakeRequiredVariables.cmake index 2fa67e7..40e1455 100644 --- a/MyxCMake/modules/MyxCMakeRequiredVariables.cmake +++ b/MyxCMake/modules/MyxCMakeRequiredVariables.cmake @@ -5,26 +5,22 @@ include_guard(GLOBAL) # cmake-format: off if(NOT MYX_CMAKE_ORGANIZATION_NAME) - myx_cmake_message_warning("MyxCMake: Required variable MYX_CMAKE_ORGANIZATION_NAME is not defined") -else() + myx_cmake_message_warning("MyxCMake: Variable MYX_CMAKE_ORGANIZATION_NAME is undefined") set(MYX_CMAKE_ORGANIZATION_NAME "ORG NAME" CACHE STRING "") endif() if(NOT MYX_CMAKE_AUTHOR_NAME) - myx_cmake_message_warning("MyxCMake: Required variable MYX_CMAKE_AUTHOR_NAME is not defined") -else() + myx_cmake_message_warning("MyxCMake: Variable MYX_CMAKE_AUTHOR_NAME is undefined") set(MYX_CMAKE_AUTHOR_NAME "AUTHOR NAME" CACHE STRING "") endif() if(NOT MYX_CMAKE_AUTHOR_EMAIL) - myx_cmake_message_warning("MyxCMake: Required variable MYX_CMAKE_AUTHOR_EMAIL is not defined") -else() + myx_cmake_message_warning("MyxCMake: Variable MYX_CMAKE_AUTHOR_EMAIL is undefined") set(MYX_CMAKE_AUTHOR_EMAIL "AUTHOR@EMAIL" CACHE STRING "") endif() if(NOT MYX_CMAKE_DESCRIPTION) - myx_cmake_message_warning("MyxCMake: Required variable MYX_CMAKE_DESCRIPTION is not defined") -else() + myx_cmake_message_warning("MyxCMake: Variable MYX_CMAKE_DESCRIPTION is undefined") set(MYX_CMAKE_DESCRIPTION "PROJECT DESCRIPTION" CACHE STRING "") endif()