mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 16:50:19 +08:00
fae4bd406a
* Adding OGDF library port * Adding C++ Graph library - LEMON * [liblemon][ogdf] Rename lemon -> liblemon. Fix cmake targets.
35 lines
770 B
Diff
35 lines
770 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 03e1cc7..fd9d737 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -280,6 +280,13 @@ ELSEIF(WIN32)
|
|
)
|
|
ENDIF()
|
|
|
|
+install(
|
|
+ EXPORT lemon-targets
|
|
+ FILE lemon-config.cmake
|
|
+ NAMESPACE lemon::
|
|
+ DESTINATION share/lemon
|
|
+)
|
|
+
|
|
CONFIGURE_FILE(
|
|
${PROJECT_SOURCE_DIR}/cmake/version.cmake.in
|
|
${PROJECT_BINARY_DIR}/cmake/version.cmake
|
|
diff --git a/lemon/CMakeLists.txt b/lemon/CMakeLists.txt
|
|
index 4e6567e..76f9cae 100644
|
|
--- a/lemon/CMakeLists.txt
|
|
+++ b/lemon/CMakeLists.txt
|
|
@@ -71,6 +71,11 @@ INSTALL(
|
|
COMPONENT library
|
|
)
|
|
|
|
+install(TARGETS lemon EXPORT lemon-targets
|
|
+ LIBRARY DESTINATION lib
|
|
+ ARCHIVE DESTINATION lib
|
|
+)
|
|
+
|
|
INSTALL(
|
|
DIRECTORY . bits concepts
|
|
DESTINATION include/lemon
|