mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:08:03 +08:00
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:
parent
91db517ba9
commit
804c421d64
@ -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
|
||||
|
@ -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)
|
||||
|
@ -1,3 +1,3 @@
|
||||
Source: ogdf
|
||||
Version: 2018-03-28-1
|
||||
Version: 2018-03-28-2
|
||||
Description: Open Graph Drawing Framework
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user