Skip to content

Commit

Permalink
Remove unnecessary rpath config
Browse files Browse the repository at this point in the history
  • Loading branch information
Ortham committed Sep 4, 2024
1 parent 3ca8d8b commit 6ad071c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -342,11 +342,6 @@ else()
endif()

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set_target_properties(loot
PROPERTIES
INSTALL_RPATH "${CMAKE_INSTALL_RPATH};."
BUILD_WITH_INSTALL_RPATH ON)

target_compile_options(loot PRIVATE "-Wall" "-Wextra")
endif()

Expand Down
8 changes: 4 additions & 4 deletions cmake/tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ target_link_libraries(libloot_internals_tests PRIVATE ${LOOT_LIBS})
target_link_libraries(libloot_tests PRIVATE ${LOOT_LIBS})

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set_target_properties(libloot_internals_tests libloot_tests
PROPERTIES
INSTALL_RPATH "${CMAKE_INSTALL_RPATH};."
BUILD_WITH_INSTALL_RPATH ON)
# set_target_properties(libloot_internals_tests libloot_tests
# PROPERTIES
# INSTALL_RPATH "${CMAKE_INSTALL_RPATH};."
# BUILD_WITH_INSTALL_RPATH ON)

target_compile_options(libloot_internals_tests PRIVATE "-Wall" "-Wextra")
target_compile_options(libloot_tests PRIVATE "-Wall" "-Wextra")
Expand Down

0 comments on commit 6ad071c

Please sign in to comment.