mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 02:36:37 +08:00
cmake: sitl_gazebo build limit to 2 cores (-j2)
This commit is contained in:
@@ -44,6 +44,7 @@ ExternalProject_Add(sitl_gazebo
|
|||||||
USES_TERMINAL_BUILD true
|
USES_TERMINAL_BUILD true
|
||||||
EXCLUDE_FROM_ALL true
|
EXCLUDE_FROM_ALL true
|
||||||
BUILD_ALWAYS 1
|
BUILD_ALWAYS 1
|
||||||
|
BUILD_COMMAND ${CMAKE_COMMAND} --build <BINARY_DIR> -- -j2
|
||||||
)
|
)
|
||||||
|
|
||||||
ExternalProject_Add(mavsdk_tests
|
ExternalProject_Add(mavsdk_tests
|
||||||
|
|||||||
Reference in New Issue
Block a user