Skip to content

Commit df0a3be

Browse files
Fix cmake warning
CMake Warning (dev) at utils/CMakeLists.txt:50 (ADD_EXECUTABLE): Policy CMP0115 is not set: Source file extensions must be explicit. Run "cmake --help-policy CMP0115" for policy details. Use the cmake_policy command to set the policy and suppress this warning. File: /home/rousseau/Documents/github/libnfc/utils/jewel.c This warning is for project developers. Use -Wno-dev to suppress it.
1 parent c6657c7 commit df0a3be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ FOREACH(source ${UTILS-SOURCES})
3030
ENDIF(WIN32)
3131

3232
IF(${source} MATCHES "nfc-jewel")
33-
LIST(APPEND TARGETS jewel)
33+
LIST(APPEND TARGETS jewel.c)
3434
ENDIF(${source} MATCHES "nfc-jewel")
3535

3636
IF((${source} MATCHES "nfc-mfultralight") OR (${source} MATCHES "nfc-mfclassic"))
37-
LIST(APPEND TARGETS mifare)
37+
LIST(APPEND TARGETS mifare.c)
3838
ENDIF((${source} MATCHES "nfc-mfultralight") OR (${source} MATCHES "nfc-mfclassic"))
3939

4040
IF(WIN32)
4141
IF(${source} MATCHES "nfc-scan-device")
42-
LIST(APPEND TARGETS ../contrib/win32/stdlib)
42+
LIST(APPEND TARGETS ../contrib/win32/stdlib.c)
4343
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../contrib/win32)
4444
ENDIF(${source} MATCHES "nfc-scan-device")
4545
IF(${source} MATCHES "nfc-read-forum-tag3")

0 commit comments

Comments
 (0)