cmake: Pacify warning about Policy CMP0042 not being set.
This commit is contained in:
parent
eb46d82500
commit
ca4d5be5f8
|
@ -170,6 +170,7 @@ endif()
|
||||||
option(PHYSFS_BUILD_SHARED "Build shared library" TRUE)
|
option(PHYSFS_BUILD_SHARED "Build shared library" TRUE)
|
||||||
if(PHYSFS_BUILD_SHARED)
|
if(PHYSFS_BUILD_SHARED)
|
||||||
add_library(physfs SHARED ${PHYSFS_SRCS})
|
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 VERSION ${PHYSFS_VERSION})
|
||||||
set_target_properties(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})
|
set_target_properties(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})
|
||||||
if(WINRT)
|
if(WINRT)
|
||||||
|
|
Loading…
Reference in New Issue