diff --git a/cmake/createLinuxPackages.cmake b/cmake/createLinuxPackages.cmake index 56533c52866abf61392adce1db87586a7a8df6de..37a0fab535792725eb674c7253badd9031630d42 100644 --- a/cmake/createLinuxPackages.cmake +++ b/cmake/createLinuxPackages.cmake @@ -32,9 +32,9 @@ function(createLinuxPackages) set(LIBRARY_DIRECTORY "lib64" CACHE STRING "define the library directory (especially for Fedora with the wtf lib64)" FORCE) endif(CREATE_RPM) - # if(CREATE_DMG) #We should use DragNDrop or PackageMaker of osx - # set(CPACK_GENERATOR "DMG") - # endif(CREATE_DMG) + if(CREATE_DMG) #We should use DragNDrop or PackageMaker of osx + set(CPACK_GENERATOR "DragNDrop") + endif(CREATE_DMG) include(CPack) # Has to be used :