Skip to content

Commit

Permalink
cmake remove unused/broken _no_optimization_for_target
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Sep 15, 2019
1 parent 251831f commit ed6c7cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions cmake/px4_add_library.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,5 @@ function(px4_add_library target)
target_link_libraries(${target} PRIVATE m nuttx_c)
endif()

# Pass variable to the parent px4_add_module.
set(_no_optimization_for_target ${_no_optimization_for_target} PARENT_SCOPE)

set_property(GLOBAL APPEND PROPERTY PX4_MODULE_PATHS ${CMAKE_CURRENT_SOURCE_DIR})
endfunction()
3 changes: 0 additions & 3 deletions cmake/px4_add_module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,6 @@ function(px4_add_module)
set_property(GLOBAL APPEND PROPERTY PX4_MODULE_PATHS ${CMAKE_CURRENT_SOURCE_DIR})
endif()

# Pass variable to the parent px4_add_module.
set(_no_optimization_for_target ${_no_optimization_for_target} PARENT_SCOPE)

# set defaults if not set
set(MAIN_DEFAULT MAIN-NOTFOUND)
set(STACK_MAIN_DEFAULT 2048)
Expand Down

0 comments on commit ed6c7cc

Please sign in to comment.