Fix all utils compilation on windows.
- As nfc-utils now references str_nfc_target from the lib itself, so the static lib was not properly referencing the libnfc itself, so the final utility link would fail. - Simply added the libnfc as a target for the static nfcutils library internal to cmake
This commit is contained in:
parent
ef33827f04
commit
3c9d9a872c
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@ SET(UTILS-SOURCES
|
||||||
ADD_LIBRARY(nfcutils STATIC
|
ADD_LIBRARY(nfcutils STATIC
|
||||||
nfc-utils.c
|
nfc-utils.c
|
||||||
)
|
)
|
||||||
|
TARGET_LINK_LIBRARIES(nfcutils nfc)
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
FOREACH(source ${UTILS-SOURCES})
|
FOREACH(source ${UTILS-SOURCES})
|
||||||
|
|
Loading…
Reference in a new issue