diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e9bfbc60..9fdc86372 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -334,6 +334,11 @@ if(TARGET_OS AND TARGET_OS STREQUAL "mac") endif() find_program(HDIUTIL hdiutil) + if(HDIUTIL) + set(HDIUTIL_FOUND ON) + else() + set(HDIUTIL_FOUND OFF) + endif() endif() message(STATUS "******** DDNet ********")