Skip to content

Commit

Permalink
Windows Build Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adesutherland committed Dec 14, 2021
1 parent 5018cfd commit a99d55c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ project(HercControl VERSION 1.1.1)

# Might as well share libraries on Ubuntu ...
# SET(CMAKE_EXE_LINKER_FLAGS "-static")
if(!APPLE)
if(NOT APPLE)
option(CURL_STATICLIB "Set to ON to build libcurl with static linking." ON)
add_definitions("-DCURL_STATICLIB")
endif()
Expand All @@ -30,6 +30,7 @@ set(CURL_CA_PATH "none" CACHE STRING
option(CMAKE_USE_OPENSSL "Use OpenSSL code. Experimental" OFF)

option(BUILD_CPR_TESTS "Set to ON to build cpr tests." OFF)
option(BUILD_SHARED_LIBS "Build libraries as shared libraries" OFF)

configure_file(src/config.h.in include/config.h)

Expand Down

0 comments on commit a99d55c

Please sign in to comment.