mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 17:36:40 +08:00
fix kconfig: rename LINUX to LINUX_TARGET
LINUX is defined by cmake >= 3.25: https://cmake.org/cmake/help/latest/variable/LINUX.html
This commit is contained in:
+1
-1
@@ -362,7 +362,7 @@ if(EXISTS ${BOARD_DEFCONFIG})
|
||||
add_definitions( ${COMPILE_DEFINITIONS})
|
||||
endif()
|
||||
|
||||
if(LINUX)
|
||||
if(LINUX_TARGET)
|
||||
add_definitions( "-D__PX4_LINUX" )
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user