cmake generates error in appveyor

This commit is contained in:
iceman1001 2020-08-21 19:28:38 +02:00
commit c551a94afc

View file

@ -310,7 +310,7 @@ set(X86_CPUS x86 x86_64 i686)
message(STATUS "CMAKE_SYSTEM_PROCESSOR := ${CMAKE_SYSTEM_PROCESSOR}") message(STATUS "CMAKE_SYSTEM_PROCESSOR := ${CMAKE_SYSTEM_PROCESSOR}")
if (APPLE) if (APPLE)
message("Apple device detected.") message(STATUS "Apple device detected.")
set(ADDITIONAL_SRC ${PM3_ROOT}/client/src/util_darwin.h ${PM3_ROOT}/client/src/util_darwin.m ${ADDITIONAL_SRC}) set(ADDITIONAL_SRC ${PM3_ROOT}/client/src/util_darwin.h ${PM3_ROOT}/client/src/util_darwin.m ${ADDITIONAL_SRC})
set(ADDITIONAL_LNK "-framework Foundation" "-framework AppKit") set(ADDITIONAL_LNK "-framework Foundation" "-framework AppKit")
endif (APPLE) endif (APPLE)
@ -376,79 +376,79 @@ if (WHEREAMI_FOUND)
set(ADDITIONAL_LNK ${WHEREAMI_LIBRARIES} ${ADDITIONAL_LNK}) set(ADDITIONAL_LNK ${WHEREAMI_LIBRARIES} ${ADDITIONAL_LNK})
endif (WHEREAMI_FOUND) endif (WHEREAMI_FOUND)
message("===================================================================") message(STATUS "===================================================================")
if (SKIPQT EQUAL 1) if (SKIPQT EQUAL 1)
message("GUI support: skipped") message(STATUS "GUI support: skipped")
else (SKIPQT EQUAL 1) else (SKIPQT EQUAL 1)
if (Qt5_FOUND) if (Qt5_FOUND)
message("GUI support: QT5 found, enabled") message(STATUS "GUI support: QT5 found, enabled")
else (Qt5_FOUND) else (Qt5_FOUND)
message("GUI support: QT5 not found, disabled") message(STATUS "GUI support: QT5 not found, disabled")
endif (Qt5_FOUND) endif (Qt5_FOUND)
endif (SKIPQT EQUAL 1) endif (SKIPQT EQUAL 1)
if (SKIPBT EQUAL 1) if (SKIPBT EQUAL 1)
message("native BT support: skipped") message(STATUS "native BT support: skipped")
else (SKIPBT EQUAL 1) else (SKIPBT EQUAL 1)
if (BLUEZ_FOUND) if (BLUEZ_FOUND)
message("native BT support: Bluez found, enabled") message(STATUS "native BT support: Bluez found, enabled")
else (BLUEZ_FOUND) else (BLUEZ_FOUND)
message("native BT support: Bluez not found, disabled") message(STATUS "native BT support: Bluez not found, disabled")
endif (BLUEZ_FOUND) endif (BLUEZ_FOUND)
endif(SKIPBT EQUAL 1) endif(SKIPBT EQUAL 1)
if (EMBED_BZIP2) if (EMBED_BZIP2)
message("Bzip2 library: embedded") message(STATUS "Bzip2 library: embedded")
else (EMBED_BZIP2) else (EMBED_BZIP2)
message("Bzip2 library: system library found") message(STATUS "Bzip2 library: system library found")
endif (EMBED_BZIP2) endif (EMBED_BZIP2)
if (SKIPJANSSONSYSTEM EQUAL 1) if (SKIPJANSSONSYSTEM EQUAL 1)
message("Jansson library: local library forced") message(STATUS "Jansson library: local library forced")
else (SKIPJANSSONSYSTEM EQUAL 1) else (SKIPJANSSONSYSTEM EQUAL 1)
if (JANSSON_FOUND) if (JANSSON_FOUND)
message("Jansson library: system library found") message(STATUS "Jansson library: system library found")
else (JANSSON_FOUND) else (JANSSON_FOUND)
message("Jansson library: system library not found, using local library") message(STATUS "Jansson library: system library not found, using local library")
endif (JANSSON_FOUND) endif (JANSSON_FOUND)
endif (SKIPJANSSONSYSTEM EQUAL 1) endif (SKIPJANSSONSYSTEM EQUAL 1)
if (SKIPPYTHON EQUAL 1) if (SKIPPYTHON EQUAL 1)
message("Python3 library: skipped") message(STATUS "Python3 library: skipped")
else (SKIPPYTHON EQUAL 1) else (SKIPPYTHON EQUAL 1)
if (PYTHON3EMBED_FOUND) if (PYTHON3EMBED_FOUND)
message("Python3 library: Python3 embed found, enabled") message(STATUS "Python3 library: Python3 embed found, enabled")
elseif (PYTHON_FOUND) elseif (PYTHON_FOUND)
message("Python3 library: Python3 found, enabled") message(STATUS "Python3 library: Python3 found, enabled")
else (PYTHON3EMBED_FOUND) else (PYTHON3EMBED_FOUND)
message("Python3 library: Python3 not found, disabled") message(STATUS "Python3 library: Python3 not found, disabled")
endif (PYTHON3EMBED_FOUND) endif (PYTHON3EMBED_FOUND)
endif(SKIPPYTHON EQUAL 1) endif(SKIPPYTHON EQUAL 1)
if (SKIPREADLINE EQUAL 1) if (SKIPREADLINE EQUAL 1)
message("Readline library: skipped") message(STATUS "Readline library: skipped")
else (SKIPREADLINE EQUAL 1) else (SKIPREADLINE EQUAL 1)
if (READLINE_FOUND) if (READLINE_FOUND)
if (EMBED_READLINE) if (EMBED_READLINE)
message("Readline library: embedded") message(STATUS "Readline library: embedded")
else (EMBED_READLINE) else (EMBED_READLINE)
message("Readline library: system library found") message(STATUS "Readline library: system library found")
endif (EMBED_READLINE) endif (EMBED_READLINE)
else (READLINE_FOUND) else (READLINE_FOUND)
message("Readline library: Readline not found, disabled") message(STATUS "Readline library: Readline not found, disabled")
endif (READLINE_FOUND) endif (READLINE_FOUND)
endif(SKIPREADLINE EQUAL 1) endif(SKIPREADLINE EQUAL 1)
if (SKIPWHEREAMISYSTEM EQUAL 1) if (SKIPWHEREAMISYSTEM EQUAL 1)
message("Whereami library: local library forced") message(STATUS "Whereami library: local library forced")
else (SKIPWHEREAMISYSTEM EQUAL 1) else (SKIPWHEREAMISYSTEM EQUAL 1)
if (WHEREAMI_FOUND) if (WHEREAMI_FOUND)
message("Whereami library: system library found") message(STATUS "Whereami library: system library found")
else (WHEREAMI_FOUND) else (WHEREAMI_FOUND)
message("Whereami library: system library not found, using local library") message(STATUS "Whereami library: system library not found, using local library")
endif (WHEREAMI_FOUND) endif (WHEREAMI_FOUND)
endif (SKIPWHEREAMISYSTEM EQUAL 1) endif (SKIPWHEREAMISYSTEM EQUAL 1)
message("===================================================================") message(STATUS "===================================================================")
add_executable(proxmark3 add_executable(proxmark3
${PM3_ROOT}/client/src/proxmark3.c ${PM3_ROOT}/client/src/proxmark3.c