forked from Archive/PX4-Autopilot
Fix PX4_CMAKE_BUILD_TYPE=Debug configuration
Set CMAKE_RUNTIME_OUTPUT_DIR_DEBUG & _RELEASE to match CMAKE_RUNTIME_OUTPUT_DIR as is already done in top level CMakeLists.txt. Fixes Issue 16445 - px4-alias.sh: not found Co-authored-by: Dan George <dgeorge@anduril.com>
This commit is contained in:
parent
92afe45f7f
commit
051bcf75b3
|
@ -7,6 +7,8 @@ get_property(module_libraries GLOBAL PROPERTY PX4_MODULE_LIBRARIES)
|
|||
# CMAKE_CURRENT_BINARY_DIR ''./platforms/posix' to './bin'
|
||||
if (NOT CATKIN_DEVEL_PREFIX)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_BINARY_DIR}/bin)
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_BINARY_DIR}/bin)
|
||||
endif()
|
||||
|
||||
set(PX4_SHELL_COMMAND_PREFIX "px4-")
|
||||
|
|
Loading…
Reference in New Issue