Skip to content

Commit

Permalink
using /home/gsk/install/ dir
Browse files Browse the repository at this point in the history
Change-Id: I0304ecb0795bf51c21028edbbad5e2267a63c394
  • Loading branch information
guanshoukui committed Apr 12, 2024
1 parent 4f0a349 commit 226b996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if(DEFINED ENV{WSL_DISTRO_NAME})
option(RAW_CYBER_BUILD "build with raw cyber." ON)
endif()
# 设置其他变量
set(CMAKE_INSTALL_PREFIX "/home/gsk/pro/CyberRT/install/" CACHE PATH "CMAKE_INSTALL_PREFIX" FORCE)
set(CMAKE_INSTALL_PREFIX "/home/gsk/install/" CACHE PATH "CMAKE_INSTALL_PREFIX" FORCE)
set(CMAKE_BUILD_TYPE Release CACHE STRING "CMAKE_BUILD_TYPE" FORCE)
set(CMAKE_CXX_FLAGS " -std=c++17 -Wno-attributes -Wregister" CACHE STRING "CMAKE_CXX_FLAGS" FORCE)
set(CMAKE_PREFIX_PATH "/opt/zhito/sysroot;/project/thirdparty/X86_64;/opt/ros/melodic;" CACHE PATH "CMAKE_PREFIX_PATH" FORCE)
Expand All @@ -18,7 +18,7 @@ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined")

# 查找cyber
if(RAW_CYBER_BUILD)
list(APPEND CMAKE_PREFIX_PATH "/home/gsk/pro/CyberRT/install")
list(APPEND CMAKE_PREFIX_PATH "/home/gsk/install")
endif()


Expand Down

0 comments on commit 226b996

Please sign in to comment.