Explorar o código

cmake: Pacify warning about Policy CMP0042 not being set.

Ryan C. Gordon %!s(int64=8) %!d(string=hai) anos
pai
achega
ca4d5be5f8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

@@ -170,6 +170,7 @@ endif()
 option(PHYSFS_BUILD_SHARED "Build shared library" TRUE)
 if(PHYSFS_BUILD_SHARED)
     add_library(physfs SHARED ${PHYSFS_SRCS})
+    set_target_properties(physfs PROPERTIES MACOSX_RPATH 1)
     set_target_properties(physfs PROPERTIES VERSION ${PHYSFS_VERSION})
     set_target_properties(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})
     if(WINRT)