mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
cmake nuttx ignore linking target warning
This commit is contained in:
@@ -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
|
# because even relative linker script paths are different for linux, mac and windows
|
||||||
CYGPATH(PX4_BINARY_DIR PX4_BINARY_DIR_CYG)
|
CYGPATH(PX4_BINARY_DIR PX4_BINARY_DIR_CYG)
|
||||||
|
|
||||||
|
if(POLICY CMP0079)
|
||||||
|
cmake_policy(SET CMP0079 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_link_libraries(nuttx_arch
|
target_link_libraries(nuttx_arch
|
||||||
INTERFACE
|
INTERFACE
|
||||||
drivers_board
|
drivers_board
|
||||||
|
|||||||
Reference in New Issue
Block a user