[cpack_installer] few small fixes based on feedback

This commit is contained in:
scottr
2021-04-22 17:51:41 -07:00
parent bb1a7580f5
commit df251de400
+2 -2
View File
@@ -24,9 +24,9 @@ endif()
if(CPACK_IFW_ROOT)
if(NOT EXISTS ${CPACK_IFW_ROOT})
message(FATAL_ERROR "Invalid path supplied for LY_QTIFW_PATH argument or QTIFWDIR environment variable")
return()
endif()
else()
# early out as no path to QtIFW has been supplied effectively disabling support
return()
endif()
@@ -39,7 +39,7 @@ set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Installation Tool")
string(TOLOWER ${PROJECT_NAME} _project_name_lower)
set(CPACK_PACKAGE_FILE_NAME "${_project_name_lower}_installer")
set(DEFAULT_LICENSE_NAME "Apache 2.0")
set(DEFAULT_LICENSE_NAME "Apache-2.0")
set(DEFAULT_LICENSE_FILE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
set(CPACK_RESOURCE_FILE_LICENSE ${DEFAULT_LICENSE_FILE})