Skip to content

Commit 45073d9

Browse files
committed
Fixed Windows build problem without VCPKG
1 parent 2aa9b9b commit 45073d9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

script/boost.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if (NOT Boost_FOUND)
88
set(Boost_NO_WARN_NEW_VERSIONS ON)
99
set(Boost_DEBUG OFF)
1010

11-
find_package(Boost COMPONENTS locale)
11+
find_package(Boost COMPONENTS locale filesystem system)
1212
message(STATUS "Boost Found (Try 1): " ${Boost_FOUND})
1313
message(STATUS "Boost Version: " ${Boost_VERSION_STRING})
1414
message(STATUS "Boost Include Dirs: " ${Boost_INCLUDE_DIRS})
@@ -17,7 +17,7 @@ if (NOT Boost_FOUND)
1717
message(STATUS "Boost Root: " ${Boost_ROOT})
1818
if (NOT Boost_FOUND)
1919
set(Boost_ROOT ${COMP_DIR}/boost/latest)
20-
find_package(Boost REQUIRED COMPONENTS locale)
20+
find_package(Boost REQUIRED COMPONENTS locale filesystem system)
2121

2222
message(STATUS "Boost Found (Try 2): " ${Boost_FOUND})
2323
message(STATUS "Boost Version: " ${Boost_VERSION_STRING})

vcpkg.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"version": "1.0",
44
"dependencies": [
55
"boost-locale",
6-
"boost-endian"
7-
],
6+
"boost-endian",
7+
"boost-process",
8+
"boost-filesystem"
9+
],
810
"features": {
911
"tools": {
1012
"description": "Build GUI and daemons",
1113
"dependencies": [
1214
"boost-asio",
13-
"boost-process",
14-
"boost-filesystem",
1515
"wxwidgets"
1616
]
1717
}

0 commit comments

Comments
 (0)