The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15522 ====================================================================== Reported By: Stephen Kelly Assigned To: ====================================================================== Project: CMake Issue ID: 15522 Category: CPack Reproducibility: have not tried Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-04-18 15:29 CEST Last Modified: 2015-04-18 15:29 CEST ====================================================================== Summary: CPack config file ignored if relative Description:
A simple CMakeLists file: cmake_minimum_required(VERSION 2.8) project(cmaketest CXX) set(CPACK_PROJECT_CONFIG_FILE "MyCPack.cmake") include(CPack) The MyCPack.cmake file is not found in the source dir unless I change the line to set(CPACK_PROJECT_CONFIG_FILE "${CMAKE_SOURCE_DIR}/MyCPack.cmake") ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-04-18 15:29 Stephen Kelly New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers