Skip to content

Commit 2775396

Browse files
committed
Fix Visual Studio x64 build
1 parent 23fe6eb commit 2775396

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libs/network/test/http/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ if (Boost_FOUND)
4848
set_source_files_properties(${test}.cpp
4949
PROPERTIES COMPILE_FLAGS "-Wall")
5050
endif()
51+
if(MSVC)
52+
set_source_files_properties(
53+
${test}.cpp PROPERTIES COMPILE_FLAGS "/bigobj"
54+
)
55+
endif()
5156
sugar_add_executable(cpp-netlib-http-${test} ${test}.cpp)
5257
add_dependencies(cpp-netlib-http-${test}
5358
cppnetlib-uri

0 commit comments

Comments
 (0)