misc/physfs/CMakeLists.txt
changeset 8101 6d1570061d19
parent 8087 ccc99eebdac2
child 8119 257ffa847aa2
equal deleted inserted replaced
8098:4efee370e2de 8101:6d1570061d19
   283     SET_TARGET_PROPERTIES(physfs PROPERTIES VERSION ${PHYSFS_VERSION})
   283     SET_TARGET_PROPERTIES(physfs PROPERTIES VERSION ${PHYSFS_VERSION})
   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}
       
   289             RUNTIME DESTINATION bin)
   288 ENDIF(PHYSFS_BUILD_SHARED)
   290 ENDIF(PHYSFS_BUILD_SHARED)
   289 
   291 
   290 IF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)
   292 IF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)
   291     MESSAGE(FATAL "Both shared and static libraries are disabled!")
   293     MESSAGE(FATAL "Both shared and static libraries are disabled!")
   292 ENDIF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)
   294 ENDIF(NOT PHYSFS_BUILD_SHARED AND NOT PHYSFS_BUILD_STATIC)