mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Add GD to experimental lib CMakeLists.txt
This commit is contained in:
parent
dccb404329
commit
48afba02cf
2 changed files with 62 additions and 20 deletions
|
@ -516,18 +516,16 @@ if (LZ4_FOUND)
|
|||
set(ADDITIONAL_LNK ${LZ4_LIBRARIES} ${ADDITIONAL_LNK})
|
||||
endif (LZ4_FOUND)
|
||||
|
||||
if (NOT SKIPGD EQUAL 1)
|
||||
if (GD_FOUND)
|
||||
set(ADDITIONAL_DIRS ${GD_INCLUDE_DIRS} ${ADDITIONAL_DIRS})
|
||||
set(ADDITIONAL_LNK ${GD_LIBRARIES} ${ADDITIONAL_LNK})
|
||||
set(ADDITIONAL_LNKDIRS ${GD_LIBRARY_DIRS} ${ADDITIONAL_LNKDIRS})
|
||||
set(TARGET_SOURCES
|
||||
${PM3_ROOT}/client/src/imgutils.c
|
||||
${PM3_ROOT}/client/src/cmdhfwaveshare.c
|
||||
${TARGET_SOURCES})
|
||||
add_definitions("-DHAVE_GD")
|
||||
endif (GD_FOUND)
|
||||
endif(NOT SKIPGD EQUAL 1)
|
||||
if (NOT SKIPGD EQUAL 1 AND GD_FOUND)
|
||||
set(ADDITIONAL_DIRS ${GD_INCLUDE_DIRS} ${ADDITIONAL_DIRS})
|
||||
set(ADDITIONAL_LNK ${GD_LIBRARIES} ${ADDITIONAL_LNK})
|
||||
set(ADDITIONAL_LNKDIRS ${GD_LIBRARY_DIRS} ${ADDITIONAL_LNKDIRS})
|
||||
set(TARGET_SOURCES
|
||||
${PM3_ROOT}/client/src/imgutils.c
|
||||
${PM3_ROOT}/client/src/cmdhfwaveshare.c
|
||||
${TARGET_SOURCES})
|
||||
add_definitions("-DHAVE_GD")
|
||||
endif (NOT SKIPGD EQUAL 1 AND GD_FOUND)
|
||||
|
||||
if (WHEREAMI_FOUND)
|
||||
set(ADDITIONAL_DIRS ${WHEREAMI_INCLUDE_DIRS} ${ADDITIONAL_DIRS})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue