mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-10 02:04:39 +08:00
Add SKIPPTHREAD support to cmake
This commit is contained in:
parent
6358c07ec1
commit
66505988a2
1 changed files with 4 additions and 1 deletions
|
@ -314,7 +314,6 @@ find_library(pm3rrg_rdv4_whereami REQUIRED)
|
||||||
target_link_libraries(proxmark3 PRIVATE
|
target_link_libraries(proxmark3 PRIVATE
|
||||||
bz2
|
bz2
|
||||||
readline
|
readline
|
||||||
pthread
|
|
||||||
m
|
m
|
||||||
pm3rrg_rdv4_mbedtls
|
pm3rrg_rdv4_mbedtls
|
||||||
pm3rrg_rdv4_cliparser
|
pm3rrg_rdv4_cliparser
|
||||||
|
@ -327,6 +326,10 @@ target_link_libraries(proxmark3 PRIVATE
|
||||||
pm3rrg_rdv4_whereami
|
pm3rrg_rdv4_whereami
|
||||||
${ADDITIONAL_LNK})
|
${ADDITIONAL_LNK})
|
||||||
|
|
||||||
|
if (NOT SKIPPTHREAD EQUAL 1)
|
||||||
|
target_link_libraries(proxmark3 PRIVATE pthread)
|
||||||
|
endif (NOT SKIPPTHREAD EQUAL 1)
|
||||||
|
|
||||||
# OSX have a hard time compiling python3 dependency with older cmake.
|
# OSX have a hard time compiling python3 dependency with older cmake.
|
||||||
if (PYTHON3EMBED_FOUND OR PYTHON3_FOUND)
|
if (PYTHON3EMBED_FOUND OR PYTHON3_FOUND)
|
||||||
if (NOT CMAKE_VERSION VERSION_LESS 3.13)
|
if (NOT CMAKE_VERSION VERSION_LESS 3.13)
|
||||||
|
|
Loading…
Reference in a new issue