Skip to content

Commit

Permalink
cmake compile fix (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
kp-cat authored Nov 10, 2023
1 parent e2d3f1e commit f4de32f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/configcat-config.cmake.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
include(CMakeFindDependencyMacro)
@PACKAGE_INIT@

find_package(cpr REQUIRED)
find_package(CURL REQUIRED)
find_package(nlohmann_json REQUIRED)
find_package(unofficial-hash-library REQUIRED)
find_package(semver REQUIRED)
Expand Down
3 changes: 3 additions & 0 deletions samples/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ int main(int /*argc*/, char** /*argv*/) {
// Use the default warning level to avoid too detailed logging in your application.
auto logger = make_shared<ConsoleLogger>(LOG_LEVEL_INFO);

// Print the ConfigCat C++ SDK version.
cout << "ConfigCat C++ SDK version: " << configcat::version << endl;

// Initialize the ConfigCatClient with an SDK Key.
ConfigCatOptions options;
options.logger = logger;
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#pragma once

#define CONFIGCAT_VERSION "3.1.0"
#define CONFIGCAT_VERSION "3.1.1"

0 comments on commit f4de32f

Please sign in to comment.