Skip to content

Commit

Permalink
cmake nuttx ignore linking target warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Aug 29, 2019
1 parent 2bb00e1 commit e8dcd8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platforms/nuttx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e8dcd8c

Please sign in to comment.