From ef41e27a1232336db9440b93b34bc1c1cd5a82fc Mon Sep 17 00:00:00 2001 From: Steven Morad Date: Tue, 31 May 2022 07:25:57 -0700 Subject: [PATCH] Stop clobbering CMAKE_CXX_FLAGS --- unitree_legged_real/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unitree_legged_real/CMakeLists.txt b/unitree_legged_real/CMakeLists.txt index d7c24e7..9c1536a 100755 --- a/unitree_legged_real/CMakeLists.txt +++ b/unitree_legged_real/CMakeLists.txt @@ -22,7 +22,7 @@ set(LEGGED_SDK_NAME -pthread libunitree_legged_sdk_${ARCH}.so lcm) set(EXTRA_LIBS ${LEGGED_SDK_NAME} lcm) -set(CMAKE_CXX_FLAGS "-O3 -fPIC") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -fPIC")