diff --git a/CMakeLists.txt b/CMakeLists.txt index ed922731..a8298bab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,13 +88,15 @@ else() endif() find_package (Threads REQUIRED) -find_package (Boost COMPONENTS filesystem iostreams program_options regex log thread system REQUIRED ) -if(Boost_FOUND) - message("Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}") - include_directories(${Boost_INCLUDE_DIRS}) -endif() + if (NOT WINDOWS) + find_package (Boost COMPONENTS filesystem iostreams program_options regex log thread system REQUIRED ) + if(Boost_FOUND) + message("Boost_INCLUDE_DIRS: ${Boost_INCLUDE_DIRS}") + include_directories(${Boost_INCLUDE_DIRS}) + endif() + find_package(CURL REQUIRED) if(CURL_FOUND) message("CURL_INCLUDE_DIRS: ${CURL_INCLUDE_DIRS}") diff --git a/appveyor.yml b/appveyor.yml index dfdd8866..c1a9fb42 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,7 +5,6 @@ init: - cmd: call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat" - cmd: set INCLUDE=C:\Libraries\boost_1_67_0;%INCLUDE% - cmd: set LIB=C:\Libraries\boost_1_67_0\lib32-msvc-14.1;%LIB% - - cmd: set PATH=C:\projects\vcf-validator\lib\windows_specific;%PATH% install: - cmd: install_dependencies.bat