[cmake-developers] [CMake 0015522]: CPack config file ignored if relative
Mantis Bug Tracker
mantis at public.kitware.com
Sat Apr 18 09:29:07 EDT 2015
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
======================================================================
More information about the cmake-developers
mailing list