mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-05 09:41:28 +08:00
2256cc983d
* [fmilib] change to the github and update to fix bug of libexpat * add license * Cleanup and devendor expat, minizip, zlib * Merge target objects, not archives * Update "supports" and ci baseline * zlib is a transitive dependency * Fix config --------- Co-authored-by: FrankXie <v-frankxie@microsoft.com> Co-authored-by: Javier Matos Denizac <javier.matosd@gmail.com> Co-authored-by: Monica <v-liumonica@microsoft.com>
24 lines
741 B
Diff
24 lines
741 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 583e15b..0319e3a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -300,10 +300,17 @@ endif()
|
|
|
|
file(COPY "${FMILIBRARYHOME}/Config.cmake/fmilib.h" DESTINATION "${FMILibrary_BINARY_DIR}")
|
|
|
|
+target_include_directories(${FMILIB_TARGETS} INTERFACE $<INSTALL_INTERFACE:include>)
|
|
install(TARGETS ${FMILIB_TARGETS}
|
|
+ EXPORT unofficial-fmilib-targets
|
|
ARCHIVE DESTINATION lib
|
|
LIBRARY DESTINATION lib
|
|
- RUNTIME DESTINATION lib
|
|
+ RUNTIME DESTINATION bin
|
|
+)
|
|
+install(EXPORT unofficial-fmilib-targets
|
|
+ FILE unofficial-fmilib-targets.cmake
|
|
+ NAMESPACE unofficial::fmilib::
|
|
+ DESTINATION share/unofficial-fmilib
|
|
)
|
|
install(FILES
|
|
"${FMILIBRARYHOME}/FMILIB_Readme.txt"
|