Skip to content

Commit

Permalink
Do not search for boost on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tcezard committed Oct 12, 2024
1 parent ac59d06 commit 5101796
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
12 changes: 7 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down
1 change: 0 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5101796

Please sign in to comment.