misc/physfs/CMakeLists.txt
changeset 8316 89232b2fa1d6
parent 8288 fd6743995dfc
child 8330 aaefa587e277
child 8360 082ccf48bc06
equal deleted inserted replaced
8315:b3875e10a8ae 8316:89232b2fa1d6
   285     SET_TARGET_PROPERTIES(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})
   285     SET_TARGET_PROPERTIES(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})
   286     TARGET_LINK_LIBRARIES(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS})
   286     TARGET_LINK_LIBRARIES(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS})
   287     SET(PHYSFS_LIB_TARGET physfs)
   287     SET(PHYSFS_LIB_TARGET physfs)
   288     SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
   288     SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
   289     INSTALL(TARGETS ${PHYSFS_INSTALL_TARGETS}
   289     INSTALL(TARGETS ${PHYSFS_INSTALL_TARGETS}
   290             RUNTIME DESTINATION ${LIBRARY_OUTPUT_PATH})
   290             RUNTIME DESTINATION ${target_library_install_dir})
   291 ENDIF(PHYSFS_BUILD_SHARED)
   291 ENDIF(PHYSFS_BUILD_SHARED)
   292 
   292 
   293 IF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)
   293 IF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)
   294     MESSAGE(FATAL "Both shared and static libraries are disabled!")
   294     MESSAGE(FATAL "Both shared and static libraries are disabled!")
   295 ENDIF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)
   295 ENDIF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)