misc/physfs/CMakeLists.txt
changeset 8283 af97cdbb7713
parent 8281 a1577759bf62
child 8286 2e7eedac380d
equal deleted inserted replaced
8281:a1577759bf62 8283:af97cdbb7713
   284     SET_TARGET_PROPERTIES(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})
   284     SET_TARGET_PROPERTIES(physfs PROPERTIES SOVERSION ${PHYSFS_SOVERSION})
   285     TARGET_LINK_LIBRARIES(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS})
   285     TARGET_LINK_LIBRARIES(physfs ${OPTIONAL_LIBRARY_LIBS} ${OTHER_LDFLAGS})
   286     SET(PHYSFS_LIB_TARGET physfs)
   286     SET(PHYSFS_LIB_TARGET physfs)
   287     SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
   287     SET(PHYSFS_INSTALL_TARGETS ${PHYSFS_INSTALL_TARGETS} ";physfs")
   288     INSTALL(TARGETS ${PHYSFS_INSTALL_TARGETS}
   288     INSTALL(TARGETS ${PHYSFS_INSTALL_TARGETS}
   289             RUNTIME DESTINATION bin)
   289             RUNTIME DESTINATION ${LIBRARY_OUTPUT_PATH})
   290 ENDIF(PHYSFS_BUILD_SHARED)
   290 ENDIF(PHYSFS_BUILD_SHARED)
   291 
   291 
   292 IF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)
   292 IF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)
   293     MESSAGE(FATAL "Both shared and static libraries are disabled!")
   293     MESSAGE(FATAL "Both shared and static libraries are disabled!")
   294 ENDIF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)
   294 ENDIF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)