Skip to content

Commit 10c201a

Browse files
custom HTTP is not required on Windows
1 parent ba67be2 commit 10c201a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ option(COUNTLY_USE_CUSTOM_HTTP "Use a custom HTTP library" OFF)
1111
option(COUNTLY_USE_SQLITE "Use SQLite" OFF)
1212
option(COUNTLY_BUILD_TESTS "Build test programs" OFF)
1313

14-
if (NOT BUILD_SHARED_LIBS AND NOT COUNTLY_CUSTOM_HTTP)
14+
if (NOT WIN32 AND NOT BUILD_SHARED_LIBS AND NOT COUNTLY_CUSTOM_HTTP)
1515
message(FATAL_ERROR "You must provide a custom HTTP function when compiling statically.")
1616
endif()
1717

0 commit comments

Comments
 (0)