2029: Properly display hdiutil status in CMake r=Learath2 a=heinrich5991

(cherry picked from commit cc2be456d4)

Co-authored-by: heinrich5991 <heinrich5991@gmail.com>
This commit is contained in:
bors[bot] 2020-01-08 09:38:50 +00:00 committed by GitHub
commit 68739eea1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ********")