Skip to content

Commit

Permalink
test: uuu
Browse files Browse the repository at this point in the history
  • Loading branch information
sangjanai committed May 20, 2024
1 parent 1c50323 commit a4c06d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions third-party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ set(THIRD_PARTY_INSTALL_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../build_deps/_install)
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
add_compile_options(-fPIC)

set(CMAKE_INSTALL_RPATH "${THIRD_PARTY_INSTALL_PATH}")
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
endif()

ExternalProject_Add(
Expand Down

0 comments on commit a4c06d5

Please sign in to comment.