Fixing ogdf and liblemon compile issues on ubuntu (#3847)

* Fixing ogdf and liblemon compile issues on ubuntu

* [ogdf] Avoid patch by passing cmake options
This commit is contained in:
Navid Rahimi 2018-07-11 11:47:13 +04:30 committed by Robert Schumacher
parent 91db517ba9
commit 804c421d64
4 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,3 @@
Source: liblemon
Version: 1.3.1-1
Version: 1.3.1-2
Description: Library for Efficient Modeling and Optimization in Networks

View File

@ -47,4 +47,4 @@ index b0d2d8b..ce54986 100644
MARK_AS_ADVANCED(LEMON_LIBRARY LEMON_INCLUDE_DIR)
+
+include(./lemon-targets.cmake)
+include(${CMAKE_CURRENT_LIST_DIR}/lemon-targets.cmake)

View File

@ -1,3 +1,3 @@
Source: ogdf
Version: 2018-03-28-1
Version: 2018-03-28-2
Description: Open Graph Drawing Framework

View File

@ -10,6 +10,11 @@ vcpkg_extract_source_archive(${ARCHIVE} ${CURRENT_BUILDTREES_DIR}/src/2018-03-28
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
-DCOIN_INSTALL_LIBRARY_DIR:STRING=lib
-DCOIN_INSTALL_CMAKE_DIR:STRING=lib/cmake/OGDF
-DOGDF_INSTALL_LIBRARY_DIR:STRING=lib
-DOGDF_INSTALL_CMAKE_DIR:STRING=lib/cmake/OGDF
)
vcpkg_install_cmake()