fix cmakelists.txt for missing else

This commit is contained in:
iceman1001 2023-06-25 09:04:45 +02:00
parent de85b3c10c
commit 9b8316c1dd

View file

@ -380,13 +380,15 @@ message(STATUS "CMAKE_SYSTEM_PROCESSOR := ${CMAKE_SYSTEM_PROCESSOR}")
if (APPLE)
message(STATUS "Apple device detected.")
set(ADDITIONAL_SRC ${PM3_ROOT}/client/src/util_darwin.h ${PM3_ROOT}/client/src/util_darwin.m ${ADDITIONAL_SRC})
if (EXISTS /private/var/mobile)
message(STATUS "iOS detected.")
set(ADDITIONAL_LNK "-framework Foundation" "-framework UIKit")
else
else (EXISTS /private/var/mobile)
message(STATUS "macOS detected.")
set(ADDITIONAL_LNK "-framework Foundation" "-framework AppKit")
endif (EXISTS /private/var/mobile)
endif (APPLE)
if ((NOT SKIPQT EQUAL 1) AND (Qt5_FOUND))