mac:send an absolute path to config.h.in via CMakeLists.txt

This commit is contained in:
Richard Barber
2020-02-19 15:51:50 -08:00
parent 3bbdd89c8f
commit a78c4b99df

View File

@@ -168,7 +168,7 @@ endif()
if(NOT DEFINED DATADIR)
if(BUILD_BUNDLE)
if(APPLE)
set(DATADIR "../Resources")
set(DATADIR "/Applications/RawTherapee.app/Contents/Resources")
else()
set(DATADIR .)
endif()
@@ -180,7 +180,7 @@ endif()
if(NOT DEFINED LIBDIR)
if(BUILD_BUNDLE)
if(APPLE)
set(LIBDIR "../Frameworks")
set(LIBDIR "/Applications/RawTherapee.app/Contents/Frameworks")
else()
set(LIBDIR .)
endif()