Hello,
 
I tried to install a file/directory with productbuild on macOS which is 
generated with CPack.
The most of the files are installed correctly, but I have two problems:
 
If I want to install to “/Library/Application\ Support/Adobe/Lightroom/Modules”
If I want to install to the users modules folder “~/Library/Application\ 
Support/Adobe/Lightroom/Modules”
 
How can I archive these two?
 
I already tried the following with no luck:

install(DIRECTORY 
$<TARGET_FILE_DIR:${PROJECT_NAME}>/${CMAKE_PROJECT_NAME}.lrplugin
                DESTINATION /Library/Application\ 
Support/Adobe/Lightroom/Modules)
 
install(DIRECTORY 
$<TARGET_FILE_DIR:${PROJECT_NAME}>/${CMAKE_PROJECT_NAME}.lrplugin
                DESTINATION ~/Library/Application\ 
Support/Adobe/Lightroom/Modules)
 
Best Regards
Roman
-- 

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:
https://cmake.org/mailman/listinfo/cmake-developers

Reply via email to