mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-18 20:23:02 +08:00
[ceres] Use gflags config file + ninja. Fixes #3116.
This commit is contained in:
parent
6dc98bbcee
commit
64ab9dc274
@ -1,5 +1,5 @@
|
||||
Source: ceres
|
||||
Version: 1.14.0
|
||||
Version: 1.14.0-1
|
||||
# eigen is always required by CMake, even if it isn't used.
|
||||
Build-Depends: glog, eigen3
|
||||
Description: non-linear optimization package
|
||||
|
@ -46,6 +46,7 @@ endif()
|
||||
|
||||
vcpkg_configure_cmake(
|
||||
SOURCE_PATH ${SOURCE_PATH}
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DEXPORT_BUILD_DIR=ON
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
@ -55,7 +56,7 @@ vcpkg_configure_cmake(
|
||||
-DEIGENSPARSE=${EIGENSPARSE}
|
||||
-DLAPACK=${LAPACK}
|
||||
-DSUITESPARSE=${SUITESPARSE}
|
||||
-DGFLAGS_PREFER_EXPORTED_GFLAGS_CMAKE_CONFIGURATION=OFF # TheiaSfm doesn't work well with this
|
||||
-DGFLAGS_PREFER_EXPORTED_GFLAGS_CMAKE_CONFIGURATION=ON
|
||||
-DGLOG_PREFER_EXPORTED_GLOG_CMAKE_CONFIGURATION=OFF # TheiaSfm doesn't work well with this
|
||||
-DMSVC_USE_STATIC_CRT=${MSVC_USE_STATIC_CRT_VALUE}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user