Files
qt5-legatus-legacy/Lts/Tools/AsmWorkstationCertifier/CMakeLists.txt
T
2026-08-13 18:33:10 +02:00

34 lines
947 B
CMake
Executable File

#
# Generates certificates from a json list of workstations and
# generates an sql file from it
#
# $Id: CMakeLists.txt 47272 2019-06-21 05:31:48Z wille_m $
# $HeadURL: svn://slssvn/TDS/branches/product/devel/trunk/Lts/Tools/Splash/CMakeLists.txt $
# $Author: wille_m $
#
# Created by Mike Wille, SLTE, 2020-10-10
#
if(NOT WIN32)
if(BOTAN_FOUND AND CMAKE_VERSION VERSION_GREATER 3.15.9) # don't build AsmWorkstationCertifier if cmake < 3.16
set(src_AsmWorkstationCertifier
main.cpp
)
NGL_ADD_EXECUTABLE(SV AsmWorkstationCertifier ${src_AsmWorkstationCertifier})
NGL_TARGET_LINK_LIBRARIES(AsmWorkstationCertifier
Qt5::Core
LtsBotan
nglcoreapplication
NGLLogger
)
NGL_INSTALL_TARGET(AsmWorkstationCertifier)
else()
message(WARNING "No botan2, no AsmWorkstationCertifier")
endif()
else(NOT WIN32)
message(WARNING "No Unix, no botan2, no AsmWorkstationCertifier")
endif(NOT WIN32)