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(NOT DEFINED DATADIR)
if(BUILD_BUNDLE) if(BUILD_BUNDLE)
if(APPLE) if(APPLE)
set(DATADIR "../Resources") set(DATADIR "/Applications/RawTherapee.app/Contents/Resources")
else() else()
set(DATADIR .) set(DATADIR .)
endif() endif()
@@ -180,7 +180,7 @@ endif()
if(NOT DEFINED LIBDIR) if(NOT DEFINED LIBDIR)
if(BUILD_BUNDLE) if(BUILD_BUNDLE)
if(APPLE) if(APPLE)
set(LIBDIR "../Frameworks") set(LIBDIR "/Applications/RawTherapee.app/Contents/Frameworks")
else() else()
set(LIBDIR .) set(LIBDIR .)
endif() endif()