mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-23 23:55:15 +08:00
cosmetic
This commit is contained in:
parent
f94a98b9c6
commit
a04c8cb41c
1 changed files with 5 additions and 6 deletions
|
@ -224,12 +224,6 @@ if (MINGW)
|
||||||
set(CMAKE_CXX_FLAGS "-mno-ms-bitfields -fexec-charset=cp850 ${CMAKE_CXX_FLAGS}")
|
set(CMAKE_CXX_FLAGS "-mno-ms-bitfields -fexec-charset=cp850 ${CMAKE_CXX_FLAGS}")
|
||||||
endif (MINGW)
|
endif (MINGW)
|
||||||
|
|
||||||
if(NOT Qt5_FOUND)
|
|
||||||
message("Qt5 library not found, not building gui")
|
|
||||||
set(TARGET_SOURCES
|
|
||||||
src/guidummy.cpp
|
|
||||||
${TARGET_SOURCES})
|
|
||||||
endif(NOT Qt5_FOUND)
|
|
||||||
if (Qt5_FOUND)
|
if (Qt5_FOUND)
|
||||||
message("Qt5 library found, building gui :)")
|
message("Qt5 library found, building gui :)")
|
||||||
set (TARGET_SOURCES
|
set (TARGET_SOURCES
|
||||||
|
@ -239,6 +233,11 @@ if (Qt5_FOUND)
|
||||||
|
|
||||||
add_definitions("-DHAVE_GUI")
|
add_definitions("-DHAVE_GUI")
|
||||||
set(ADDITIONAL_LNK Qt5::Core Qt5::Widgets Qt5::Gui ${ADDITIONAL_LNK})
|
set(ADDITIONAL_LNK Qt5::Core Qt5::Widgets Qt5::Gui ${ADDITIONAL_LNK})
|
||||||
|
else (Qt5_FOUND)
|
||||||
|
message("Qt5 library not found, not building gui")
|
||||||
|
set(TARGET_SOURCES
|
||||||
|
src/guidummy.cpp
|
||||||
|
${TARGET_SOURCES})
|
||||||
endif (Qt5_FOUND)
|
endif (Qt5_FOUND)
|
||||||
|
|
||||||
add_executable(
|
add_executable(
|
||||||
|
|
Loading…
Reference in a new issue