From 2fa80d0a67d60c77aa65c74120ad868ee3c233f5 Mon Sep 17 00:00:00 2001 From: heinrich5991 Date: Sun, 5 Jan 2020 17:46:47 +0100 Subject: [PATCH] Properly display hdiutil status in CMake (cherry picked from commit cc2be456d4d95bb3196e8201a06ce19403dfc3c9) --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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 ********")