diff --git a/development/cmake/CMakeLists.txt b/development/cmake/CMakeLists.txt index fabac7b32a..e09111ab38 100644 --- a/development/cmake/CMakeLists.txt +++ b/development/cmake/CMakeLists.txt @@ -21,6 +21,8 @@ set(VERSION_INFO "CMake Build") if(WIN32) set(USE_WINDOWS_PACKAGING 1) +elseif(APPLE) + set(USE_MACOSX_PACKAGING 1) else(WIN32) set(USE_POSIX_PACKAGING 1) endif(WIN32) diff --git a/development/cmake/config.h.cmake b/development/cmake/config.h.cmake index 0202a9e026..37351890d2 100644 --- a/development/cmake/config.h.cmake +++ b/development/cmake/config.h.cmake @@ -116,6 +116,7 @@ #cmakedefine USE_POSIX_PACKAGING 1 #cmakedefine USE_WINDOWS_PACKAGING 1 +#cmakedefine USE_MACOSX_PACKAGING 1 #cmakedefine PATH_MAX ${PATH_MAX} #ifdef _MSC_VER