On 02.07.2014 13:18, Guillermo Sotomayor wrote:
I'm generating a drag and drop installer. I'm trying to add a custom background image and a custom
DS_Store file unsuccesfuly.

set (CPACK_DMG_FORMAT UDBZ)
set (CPACK_DMG_BACKGROUND_IMAGE ${PROJECT_SOURCE_DIR}/macInstallerFiles/background.png) set (CPACK_CPACK_DMG_DS_STORE ${PROJECT_SOURCE_DIR}/macInstallerFiles/DS_Store)

What I'm missing? There is another way to set the background image?

I am not familiar with the generator itself but are those variables set before include(CPack)? This is required for them to get exported in the generated CPackConfig.cmake which is what cpack operates on.

Nils
--

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