macros.cmake: Do not warn on INTERFACE libraries

Some third-party libraries might be defined as INTERFACE. [1]

[1]: https://cmake.org/cmake/help/latest/command/add_library.html#interface-libraries


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9603 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1e3c228d771550ed3ef9674999fbe8182f4bfd75
Former-commit-id: 492a4d2569b0dcb8845a2a6c95deaabd1214a900
This commit is contained in:
xavi92 2024-10-27 08:07:20 +00:00
parent ec2222a1a4
commit 05a7090c6d

View file

@ -250,8 +250,6 @@ MACRO(SD_ADD_LIBRARY TARGET_NAME TARGET_TYPE)
ELSEIF(NOT ${TARGET_TYPE} STREQUAL "STATIC")
MESSAGE(FATAL "Unsupported library type ${TARGET_TYPE} for ${TARGET_NAME}")
ENDIF()
# Change target location (for running in build-tree without installing).