Use relative rpath on Linux;

This commit is contained in:
bjorn 2019-12-04 14:07:35 -08:00
parent c07b9e3fec
commit 871542bddf
1 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,9 @@ elseif(ANDROID)
set(LOVR_BUILD_SHARED ON) # Android has only "activities"
elseif(UNIX)
find_package(PkgConfig)
if(NOT APPLE)
set(CMAKE_SKIP_RPATH OFF)
endif()
endif()
# PhysicsFS