Skip to content

Commit

Permalink
Added origin to rpath
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Glowacki committed Nov 12, 2024
1 parent 1ec6ca6 commit 6438fa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ IF (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU"

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native")

set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH}:$ORIGIN")
ENDIF()

IF (AVX2)
Expand Down

0 comments on commit 6438fa7

Please sign in to comment.