Skip to content

Commit

Permalink
Fixed Windows build problem without VCPKG
Browse files Browse the repository at this point in the history
  • Loading branch information
ihedvall committed Jul 1, 2024
1 parent 2aa9b9b commit 45073d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions script/boost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if (NOT Boost_FOUND)
set(Boost_NO_WARN_NEW_VERSIONS ON)
set(Boost_DEBUG OFF)

find_package(Boost COMPONENTS locale)
find_package(Boost COMPONENTS locale filesystem system)
message(STATUS "Boost Found (Try 1): " ${Boost_FOUND})
message(STATUS "Boost Version: " ${Boost_VERSION_STRING})
message(STATUS "Boost Include Dirs: " ${Boost_INCLUDE_DIRS})
Expand All @@ -17,7 +17,7 @@ if (NOT Boost_FOUND)
message(STATUS "Boost Root: " ${Boost_ROOT})
if (NOT Boost_FOUND)
set(Boost_ROOT ${COMP_DIR}/boost/latest)
find_package(Boost REQUIRED COMPONENTS locale)
find_package(Boost REQUIRED COMPONENTS locale filesystem system)

message(STATUS "Boost Found (Try 2): " ${Boost_FOUND})
message(STATUS "Boost Version: " ${Boost_VERSION_STRING})
Expand Down
8 changes: 4 additions & 4 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"version": "1.0",
"dependencies": [
"boost-locale",
"boost-endian"
],
"boost-endian",
"boost-process",
"boost-filesystem"
],
"features": {
"tools": {
"description": "Build GUI and daemons",
"dependencies": [
"boost-asio",
"boost-process",
"boost-filesystem",
"wxwidgets"
]
}
Expand Down

0 comments on commit 45073d9

Please sign in to comment.