cmake nuttx ignore linking target warning

This commit is contained in:
Daniel Agar 2019-08-28 21:51:31 -04:00
parent 2bb00e1f28
commit e8dcd8c2fc
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ file(RELATIVE_PATH PX4_BINARY_DIR_REL ${CMAKE_CURRENT_BINARY_DIR} ${PX4_BINARY_D
# because even relative linker script paths are different for linux, mac and windows
CYGPATH(PX4_BINARY_DIR PX4_BINARY_DIR_CYG)
if(POLICY CMP0079)
cmake_policy(SET CMP0079 NEW)
endif()
target_link_libraries(nuttx_arch
INTERFACE
drivers_board