-
Emily Ehlert authored6418abdf
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
CMakeLists.txt 526 B
cmake_minimum_required(VERSION 3.24)
project(SmartcardKeyWrappingLibrary C)
set(CMAKE_C_STANDARD 99)
include_directories("/usr/include/PCSC/")
include_directories("include")
add_library(SmartcardKeyWrappingLibrary SHARED openvpn_smartcard_key_wrapping.c)
add_executable(SmartcardKeyWrappingExec smart_card_handler.c)
set_property(TARGET SmartcardKeyWrappingLibrary PROPERTY POSITION_INDEPENDENT_CODE ON)
target_link_libraries(SmartcardKeyWrappingLibrary pcsclite)
target_link_libraries(SmartcardKeyWrappingExec pcsclite)