diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-07-31 17:03:35 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-08-03 00:09:21 -0700 |
| commit | c3d34e7d8e0c61da77e622ecbe887497c97d5d46 (patch) | |
| tree | 828faa453811fb45b0e51cf0a27409a60d587ce7 /ports/celero | |
| parent | 1f64d24a8159c6731a45fbd1f60e3b79ae44d4cb (diff) | |
| download | vcpkg-c3d34e7d8e0c61da77e622ecbe887497c97d5d46.tar.gz vcpkg-c3d34e7d8e0c61da77e622ecbe887497c97d5d46.zip | |
Upgrades 2018.06.31
Diffstat (limited to 'ports/celero')
| -rw-r--r-- | ports/celero/CONTROL | 2 | ||||
| -rw-r--r-- | ports/celero/portfile.cmake | 12 |
2 files changed, 6 insertions, 8 deletions
diff --git a/ports/celero/CONTROL b/ports/celero/CONTROL index 624507769..43973721e 100644 --- a/ports/celero/CONTROL +++ b/ports/celero/CONTROL @@ -1,3 +1,3 @@ Source: celero -Version: 2.2.0 +Version: 2.3.0-1 Description: Celero is a modern cross-platform (Windows, Linux, MacOS) Microbenchmarking library for C++. diff --git a/ports/celero/portfile.cmake b/ports/celero/portfile.cmake index 0800115ec..8c0bdbbb6 100644 --- a/ports/celero/portfile.cmake +++ b/ports/celero/portfile.cmake @@ -1,18 +1,15 @@ include(vcpkg_common_functions) -if(VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic") - message(STATUS "Celero currently can only be built statically") - set(VCPKG_LIBRARY_LINKAGE static) -endif() - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO DigitalInBlue/Celero - REF v2.2.0 - SHA512 6fac1fa949b18caabf59f3675c6e592cfadc3efa5e674b1f8b183e728ec880a4f5616d5d41c97f8fc26ef9520284188f519b7634209d0a56fb38a6993a9e9680 + REF v2.3.0 + SHA512 bc145f9823b1e4bc03f13da9b9af986d6cc151b1edfc01384c4e90bcf0488f867ec2bdc39733f263c7ddda526645dd11a7c6051c73eb8657bc4442b448732242 HEAD_REF master ) +string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" CELERO_COMPILE_DYNAMIC_LIBRARIES) + vcpkg_configure_cmake( SOURCE_PATH ${SOURCE_PATH} PREFER_NINJA # Disable this option if project cannot be built with Ninja @@ -20,6 +17,7 @@ vcpkg_configure_cmake( -DCELERO_ENABLE_EXPERIMENTS=OFF -DCELERO_ENABLE_TESTS=OFF -DCELERO_RUN_EXAMPLE_ON_BUILD=OFF + -DCELERO_COMPILE_DYNAMIC_LIBRARIES=${CELERO_COMPILE_DYNAMIC_LIBRARIES} ) vcpkg_install_cmake() |
