2019-10-16 15:51:48 +00:00
|
|
|
if(NOT EXISTS "${CMAKE_SOURCE_DIR}/cmake/etc/Variables.cmake")
|
|
|
|
message(FATAL_ERROR "Required file cmake/etc/Variables.cmake does not exist")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
include("${CMAKE_SOURCE_DIR}/cmake/etc/Variables.cmake")
|
|
|
|
|
|
|
|
if(NOT ORGANIZATION_NAME)
|
|
|
|
message(FATAL_ERROR "Required variable ORGANIZATION_NAME is not defined")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
set(CPACK_PACKAGE_VENDOR ${ORGANIZATION_NAME})
|
|
|
|
|
|
|
|
if(NOT CPACK_PACKAGE_CONTACT)
|
|
|
|
message(FATAL_ERROR "Required variable CPACK_PACKAGE_CONTACT is not defined")
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(NOT CPACK_PACKAGE_DESCRIPTION_SUMMARY)
|
2020-04-01 18:42:59 +00:00
|
|
|
message(FATAL_ERROR "Required variable CPACK_PACKAGE_DESCRIPTION_SUMMARY is not defined")
|
2019-10-16 15:51:48 +00:00
|
|
|
endif()
|