]> git.feebdaed.xyz Git - 0xmirror/civetweb.git/commitdiff
Update CIVETWEB_VERSION to 1.16.0 in CMakeLists.txt
authorJamie St Martin <jamie.stmartin@abcellera.com>
Wed, 12 Jun 2024 18:11:06 +0000 (11:11 -0700)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2024 18:11:06 +0000 (11:11 -0700)
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.

CMakeLists.txt

index 44cebaecd7725ace1259cf32392af11ad62498c0..691bdbfab13a43ee06e14c8919e6a5ebc257c551 100644 (file)
@@ -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")