refactor(CMake): Rename project and update include directories
- Changed project name from 'unitree_go2_custom' to 'lzwc_go2'. - Added include directory for 'unitree_sdk2' to the main target.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(unitree_go2_custom VERSION 1.0.0)
|
project(lzwc_go2 VERSION 1.0.0)
|
||||||
|
|
||||||
# Set C++ standard
|
# Set C++ standard
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
@@ -26,6 +26,8 @@ include_directories(
|
|||||||
$<$<NOT:$<BOOL:${PahoMqttC_FOUND}>>:${PAHO_MQTT_C_INCLUDE_DIR}>
|
$<$<NOT:$<BOOL:${PahoMqttC_FOUND}>>:${PAHO_MQTT_C_INCLUDE_DIR}>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
target_include_directories(main PRIVATE ${unitree_sdk2_INCLUDE_DIRS})
|
||||||
|
|
||||||
# Source files
|
# Source files
|
||||||
set(SOURCES
|
set(SOURCES
|
||||||
src/main.cpp
|
src/main.cpp
|
||||||
|
|||||||
Reference in New Issue
Block a user