File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 34
34
- name : Install Boost
35
35
shell : cmd
36
36
run : |
37
+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
38
+ choco install wget --no-progress
37
39
wget -nv -O boost-installer.exe %BOOST_URL%
38
40
boost-installer.exe /dir=%BOOST_ROOT% /sp- /verysilent /suppressmsgboxes /norestart
39
41
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ if(MSVC)
35
35
# In release, we prefer speed over size of the code
36
36
set (CMAKE_CXX_FLAGS_RELEASE "/O2" )
37
37
set (CMAKE_C_FLAGS_RELEASE "/O2" )
38
+ set (Boost_USE_STATIC_RUNTIME ON )
38
39
else ()
39
40
if (NOT CMAKE_BUILD_TYPE )
40
41
set (CMAKE_BUILD_TYPE Release)
@@ -47,7 +48,6 @@ endif(MSVC)
47
48
48
49
set (Boost_USE_STATIC_LIBS ON )
49
50
set (Boost_USE_MULTITHREADED ON )
50
- set (Boost_USE_STATIC_RUNTIME ON )
51
51
find_package (Boost 1.66.0 REQUIRED COMPONENTS system program_options log filesystem)
52
52
53
53
option (USE_SIRIUS_SHARED "Use shared library for sirius solver" OFF )
You can’t perform that action at this time.
0 commit comments