Skip to content

Commit 7b9c462

Browse files
Merge pull request #40 from Countly/sdk-655
[SDK 655] 'COUNTLY_CUSTOM_HTTP' typo fix in CMakelists
2 parents 19c2e40 + ac866b0 commit 7b9c462

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* ! Minor breaking change ! Default automatic session update duration changed to 60 seconds.
44
* Added a call to change the automatic session update duration.
55
* Fixed a bug where session duration was reported wrong.
6+
* Fixed a bug that was a typo ('COUNTLY_CUSTOM_HTTP' instead of 'COUNTLY_USE_CUSTOM_HTTP') in the cmake file that cause the SDK to be misconfigured.
67
* Fixed a bug that caused POST requests to fail on Windows.
78

89
21.11.0

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ option(COUNTLY_USE_SQLITE "Use SQLite" OFF)
1313
option(COUNTLY_BUILD_TESTS "Build test programs" OFF)
1414
option(COUNTLY_BUILD_SAMPLE "Build Sample programs" OFF)
1515

16-
if (NOT WIN32 AND NOT BUILD_SHARED_LIBS AND NOT COUNTLY_CUSTOM_HTTP)
16+
if (NOT WIN32 AND NOT BUILD_SHARED_LIBS AND NOT COUNTLY_USE_CUSTOM_HTTP)
1717
message(FATAL_ERROR "You must provide a custom HTTP function when compiling statically.")
1818
endif()
1919

0 commit comments

Comments
 (0)