[cmake-developers] [CMake 0014840]: install can not handle "~"
Mantis Bug Tracker
mantis at public.kitware.com
Wed Mar 26 04:09:00 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14840
======================================================================
Reported By: th.thielemann
Assigned To:
======================================================================
Project: CMake
Issue ID: 14840
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-03-26 04:09 EDT
Last Modified: 2014-03-26 04:09 EDT
======================================================================
Summary: install can not handle "~"
Description:
Tried to install into a subfolder of users home on linux. Used the shortcut "~"
for this.
Steps to Reproduce:
Not working:
set("DROP_FOLDER" "~/localdropfolder")
...
install(DIRECTORY ${PROJECT_SOURCE_DIR}/qml DESTINATION "${DROP_FOLDER}" )
But this is working:
set("DROP_FOLDER" "~/localdropfolder")
get_filename_component(QML_PATH_ABSOLUT "${DROP_FOLDER}" ABSOLUTE)
install(DIRECTORY ${PROJECT_SOURCE_DIR}/qml DESTINATION "${QML_PATH_ABSOLUT}" )
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-03-26 04:09 th.thielemann New Issue
======================================================================
More information about the cmake-developers
mailing list