
Resolve relative CPACK_PROJECT_CONFIG_FILE explicitly at config generation time. Otherwise, it will be resolved at runtime relative to the CPack execution directory (which could be anything). Additionally, issue a warning if reading PACK_PROJECT_CONFIG_FILE fails at runtime. Fixes: #15522
3 lines
77 B
CMake
3 lines
77 B
CMake
set(CPACK_PROJECT_CONFIG_FILE "project_config_example.cmake")
|
|
include(CPack)
|