diff --git a/CMakeLists.txt b/CMakeLists.txt index 48e810256..1e06906c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,9 @@ include(cmake/OptionalSource.cmake) include(cmake/ParseArguments.cmake) include(cmake/Rpm.cmake) include(cmake/Deb.cmake) -include(cmake/Dmg.cmake) +if(APPLE) + include(cmake/Dmg.cmake) +endif() set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)