mirror of
https://github.com/love2d/megasource.git
synced 2026-08-12 08:30:59 +02:00
physfs 2.0.3: Add target_include_directories.
This commit is contained in:
@@ -276,6 +276,7 @@ IF(PHYSFS_BUILD_STATIC)
|
||||
ADD_LIBRARY(physfs-static STATIC ${PHYSFS_SRCS})
|
||||
SET_TARGET_PROPERTIES(physfs-static PROPERTIES OUTPUT_NAME "physfs")
|
||||
TARGET_LINK_LIBRARIES(physfs-static ${OPTIONAL_LIBRARY_LIBS})
|
||||
TARGET_INCLUDE_DIRECTORIES(physfs-static PUBLIC .)
|
||||
SET(PHYSFS_LIB_TARGET physfs-static)
|
||||
SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs-static")
|
||||
ENDIF(PHYSFS_BUILD_STATIC)
|
||||
@@ -286,6 +287,7 @@ IF(PHYSFS_BUILD_SHARED)
|
||||
SET_TARGET_PROPERTIES(physfs PROPERTIES VERSION ${PHYSFS_VERSION})
|
||||
SET_TARGET_PROPERTIES(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})
|
||||
TARGET_LINK_LIBRARIES(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS})
|
||||
TARGET_INCLUDE_DIRECTORIES(physfs PUBLIC .)
|
||||
SET(PHYSFS_LIB_TARGET physfs)
|
||||
SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
|
||||
ENDIF(PHYSFS_BUILD_SHARED)
|
||||
|
||||
Reference in New Issue
Block a user