Fixes CMake under GNU/Linux
This commit is contained in:
parent
3fff5985fc
commit
c01b961be0
1 changed files with 6 additions and 4 deletions
|
@ -21,10 +21,12 @@ FOREACH(source ${UTILS-SOURCES})
|
|||
LIST(APPEND TARGETS mifare)
|
||||
ENDIF((${source} MATCHES "nfc-mfultralight") OR (${source} MATCHES "nfc-mfclassic"))
|
||||
|
||||
IF(WIN32)
|
||||
IF(${source} MATCHES "nfc-scan-device")
|
||||
LIST(APPEND TARGETS ../contrib/win32/nfc_win32)
|
||||
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../contrib/win32)
|
||||
ENDIF(${source} MATCHES "nfc-scan-device")
|
||||
ENDIF(WIN32)
|
||||
|
||||
ADD_EXECUTABLE(${source} ${TARGETS})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue