mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 18:49:02 +08:00
d289dea7d8
* [openturns] add port * v db * fix missing boost dep. * fix static stuff and others. * v db * reorder mpc and mpfr for linux * v db * add openturns:x64-osx=fail to ci baseline because vm uses old bison. * move baseline fail above comment * Add ci.baseline.txt note describing why it doesn't work. * Add usage text. * fix version * v db --------- Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
16 lines
530 B
Diff
16 lines
530 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index e13414978..77ecf3e9e 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -303,6 +303,10 @@ if (USE_BOOST)
|
|
list (APPEND OPENTURNS_PRIVATE_LIBRARIES ${MPC_LIBRARIES})
|
|
endif ()
|
|
endif ()
|
|
+ if((USE_MPC OR USE_MPFR) AND NOT BUILD_SHARED_LIBS)
|
|
+ find_library(GMP_LIBRARY NAMES gmp)
|
|
+ list (APPEND OPENTURNS_PRIVATE_LIBRARIES ${GMP_LIBRARY})
|
|
+ endif()
|
|
list (APPEND OPENTURNS_PRIVATE_INCLUDE_DIRS ${Boost_INCLUDE_DIRS})
|
|
endif ()
|
|
endif ()
|