Skip to content

Commit

Permalink
Fixing ogdf and liblemon compile issues on ubuntu (#3847)
Browse files Browse the repository at this point in the history
* Fixing ogdf and liblemon compile issues on ubuntu

* [ogdf] Avoid patch by passing cmake options
  • Loading branch information
navidR authored and ras0219-msft committed Jul 11, 2018
1 parent 91db517 commit 804c421
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ports/liblemon/CONTROL
@@ -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
2 changes: 1 addition & 1 deletion ports/liblemon/fixup-targets.patch
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion ports/ogdf/CONTROL
@@ -1,3 +1,3 @@
Source: ogdf
Version: 2018-03-28-1
Version: 2018-03-28-2
Description: Open Graph Drawing Framework
5 changes: 5 additions & 0 deletions ports/ogdf/portfile.cmake
Expand Up @@ -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()
Expand Down

0 comments on commit 804c421

Please sign in to comment.