Skip to content

Commit

Permalink
Escape environment variable to prevent expansion at link time
Browse files Browse the repository at this point in the history
  • Loading branch information
austinschneider committed Jan 13, 2024
1 parent ebe4409 commit fd9832e
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 @@ -130,7 +130,7 @@ endif()
if(DEFINED SKBUILD)
set_target_properties(LeptonInjector PROPERTIES
BUILD_WITH_INSTALL_RPATH FALSE
LINK_FLAGS "-Wl,-rpath,$ORIGIN")
LINK_FLAGS "-Wl,-rpath,\$ORIGIN")
if(${CIBUILDWHEEL})
message(STATUS "Setting LeptonInjector install lib dir to: ${CI_INSTALL_PREFIX}/lib")
message(STATUS "Setting LeptonInjector install include dir to: ${CI_INSTALL_PREFIX}/include")
Expand Down

0 comments on commit fd9832e

Please sign in to comment.