Skip to content

Commit

Permalink
Linux 系统共享库搜索路径
Browse files Browse the repository at this point in the history
  • Loading branch information
InfpPointPlus committed Mar 16, 2024
1 parent 28fbdac commit 14d6b6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ if (CMAKE_SYSTEM_NAME MATCHES "Windows")
${PROJECT_SOURCE_DIR}/Src/Raptor.rc
)
elseif (CMAKE_SYSTEM_NAME MATCHES "Linux")
set(CMAKE_BUILD_RPATH ".")
set(CMAKE_INSTALL_RPATH ".")
add_executable(
${CMAKE_PROJECT_NAME}
${PROJECT_SOURCES}
Expand Down

0 comments on commit 14d6b6c

Please sign in to comment.