Fix rpath not being set while uninstalled

This commit is contained in:
Nicolas Werner 2021-11-16 10:10:22 +01:00
parent 969ae80cfb
commit a27066eaad
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
1 changed files with 1 additions and 1 deletions

View File

@ -720,7 +720,7 @@ if(NOT MSVC AND NOT HAIKU)
endif()
endif()
set_target_properties(nheko PROPERTIES SKIP_BUILD_RPATH TRUE)
set_target_properties(nheko PROPERTIES CMAKE_SKIP_INSTALL_RPATH TRUE)
if(UNIX AND NOT APPLE)
install (TARGETS nheko RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")