Thanks for your help!

Domen Vrankar wrote
> I'm assuming that you used something like:
> 
> install(CODE "
>     EXECUTE_PROCESS(COMMAND ln -sf ${SOME_PATH}/subdir-version subdir
>        WORKING_DIRECTORY
> ${LOCATION_WHERE_CPackRPM_IS_PACKAGING_YOUR_FILES}
>        )
>     " COMPONENT bin)

No, I used install(DIRECTORY …). It was all built and installed using
External_Project. Thus the directory symlink was not created by my code.


Domen Vrankar wrote
> A workaround that you could use is to specify something like
> 
> set(CPACK_RPM_bin_USER_FILELIST "%config /subdir")
> 
> and this will force CPackRPM to treat the symlink as a config file.

What is the meaning of bin in the middle of that variable name?



-----
--
Luc J. Bourhis

--
View this message in context: 
http://cmake.3232098.n2.nabble.com/CPack-RPM-generator-and-directory-symlink-tp7588751p7588756.html
Sent from the CMake mailing list archive at Nabble.com.
-- 

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

Reply via email to