mac:export non-relative paths to config.h

This commit is contained in:
Richard Barber
2020-02-20 01:17:49 -08:00
parent a78c4b99df
commit 9bc078c5bb
4 changed files with 26 additions and 15 deletions

View File

@@ -195,4 +195,8 @@ target_link_libraries(rtengine rtexif
${KLT_LIBRARIES}
)
if(APPLE)
install(FILES ${CAMCONSTSFILE} DESTINATION "${CMAKE_INSTALL_PREFIX}/RawTherapee.app/Contents/Resources" PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
else()
install(FILES ${CAMCONSTSFILE} DESTINATION "${DATADIR}" PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)
endif()