Skip to content

Commit

Permalink
driver/apdu/at: fix conditional compile (#165)
Browse files Browse the repository at this point in the history
resolve #163

Signed-off-by: Celeste <CoelacanthusHex@gmail.com>
  • Loading branch information
CoelacanthusHex authored Nov 6, 2024
1 parent 8d92e5a commit 63f29b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion driver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ include(CMakeDependentOption)
cmake_dependent_option(LPAC_DYNAMIC_DRIVERS "Build lpac/libeuicc driver backends as a dynamic library" OFF "LPAC_DYNAMIC_LIBEUICC" OFF)

option(LPAC_WITH_APDU_PCSC "Build APDU PCSC Backend (requires PCSC libraries)" ON)
option(LPAC_WITH_APDU_AT "Build APDU AT Backend" Linux)
if(LINUX)
option(LPAC_WITH_APDU_AT "Build APDU AT Backend" ON)
else()
option(LPAC_WITH_APDU_AT "Build APDU AT Backend" OFF)
endif()
option(LPAC_WITH_APDU_GBINDER "Build APDU Gbinder backend for libhybris devices (requires gbinder headers)" OFF)
option(LPAC_WITH_APDU_QMI "Build QMI backend for Qualcomm devices (requires libqmi)" OFF)
option(LPAC_WITH_APDU_QMI_QRTR "Build QMI-over-QRTR backend for Qualcomm devices (requires libqrtr and libqmi headers)" OFF)
Expand Down

0 comments on commit 63f29b4

Please sign in to comment.