aboutsummaryrefslogtreecommitdiff
path: root/ports/ceres/portfile.cmake
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-03-26 11:58:37 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-03-26 11:59:06 -0700
commit64ab9dc274c352f9999f2cc4e8f7f6830cc56c42 (patch)
tree362413dbfdab9b8b6fcf0d6db2c38d41247d9e41 /ports/ceres/portfile.cmake
parent6dc98bbcee6a00269dd93d61950d8ab4c55c3d0b (diff)
downloadvcpkg-64ab9dc274c352f9999f2cc4e8f7f6830cc56c42.tar.gz
vcpkg-64ab9dc274c352f9999f2cc4e8f7f6830cc56c42.zip
[ceres] Use gflags config file + ninja. Fixes #3116.
Diffstat (limited to 'ports/ceres/portfile.cmake')
-rw-r--r--ports/ceres/portfile.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/ports/ceres/portfile.cmake b/ports/ceres/portfile.cmake
index b6dfacf9f..7267be402 100644
--- a/ports/ceres/portfile.cmake
+++ b/ports/ceres/portfile.cmake
@@ -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}
)