mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 02:04:39 +08:00
fix cmakelists.txt for missing else
This commit is contained in:
parent
de85b3c10c
commit
9b8316c1dd
1 changed files with 3 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue