Update CMakeLists.txt
This commit is contained in:
parent
b98b0334a9
commit
8d1d278e7b
@ -275,6 +275,8 @@ if(STAR_COMPILER_GNU)
|
||||
set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG -Ofast")
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -Ofast")
|
||||
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -rpath,$ORIGIN")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rpath,$ORIGIN")
|
||||
set(CMAKE_SKIP_BUILD_RPATH TRUE)
|
||||
|
||||
elseif(STAR_COMPILER_CLANG)
|
||||
|
Loading…
Reference in New Issue
Block a user