File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 3232 rm -rf build
3333
3434 - name : configure
35- run : cmake -Htest -Bbuild -DTEST_INSTALLED_VERSION=1
35+ run : BOOST_ROOT=$BOOST_ROOT_1_72_0 cmake -Htest -Bbuild -DTEST_INSTALLED_VERSION=1
3636
3737 - name : build
3838 run : cmake --build build --config Debug -j4
Original file line number Diff line number Diff line change @@ -11,3 +11,9 @@ set(Boost_USE_RELEASE_LIBS ON) # only find release libs
1111set (Boost_USE_MULTITHREADED ON )
1212set (Boost_USE_STATIC_RUNTIME OFF )
1313find_package (Boost 1.70.0 REQUIRED COMPONENTS system )
14+
15+ # attempt fixes from @al-cheb
16+ # https://github.com/actions/virtual-environments/issues/370#issuecomment-586209745
17+ if (WIN32 )
18+ add_definitions (-DBOOST_ALL_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_THREAD_DYN_LINK)
19+ endif ()
You can’t perform that action at this time.
0 commit comments