-
- target_link_libraries(SimGearCore ${ZLIB_LIBRARY} ${RT_LIBRARY}
- ${LibArchive_LIBRARIES}
- ${EXPAT_LIBRARIES}
- ${CMAKE_THREAD_LIBS_INIT}
- ${CORE_SERVICES_LIBRARY})
-
- if(LIBSVN_FOUND)
- target_link_libraries(SimGearCore ${LIBSVN_LIBRARIES})
- endif(LIBSVN_FOUND)
-
+ install(TARGETS SimGearCore EXPORT SimGearCoreConfig LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+ install(EXPORT SimGearCoreConfig DESTINATION share/SimGearCore)
+