Parcourir la source

Update CIVETWEB_VERSION to 1.16.0 in CMakeLists.txt

Our call to `find_package(civetweb 1.16.0 EXACT CONFIG REQUIRED)` is failing with version 1.16 of civetweb installed via vcpkg, because this variable is set incorrectly and therefore `civetweb-config-version.cmake` contains the wrong version.
Jamie St Martin il y a 1 an
Parent
commit
45d4af05a0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      CMakeLists.txt

+ 1 - 1
CMakeLists.txt

@@ -37,7 +37,7 @@ include(AddCXXCompilerFlag)
 include(DetermineTargetArchitecture)
 include(CMakeDependentOption)
 
-set(CIVETWEB_VERSION "1.15.0" CACHE STRING "The version of the civetweb library")
+set(CIVETWEB_VERSION "1.16.0" CACHE STRING "The version of the civetweb library")
 string(REGEX MATCH "([0-9]+)\\.([0-9]+)\\.([0-9]+)" CIVETWEB_VERSION_MATCH "${CIVETWEB_VERSION}")
 if ("${CIVETWEB_VERSION_MATCH}" STREQUAL "")
   message(FATAL_ERROR "Must specify a semantic version: major.minor.patch")