Skip to content

Commit cb01ea7

Browse files
committed
set boost compiler
1 parent 57e6d5d commit cb01ea7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
run: mkdir builds
8989

9090
- name: list stuff
91-
run: ls ./boost/boost/lib
91+
run: ls ./boost/boost/libs
9292
#run: ls ${{ steps.install-boost.outuputs.BOOST_ROOT }}
9393

9494
- name: Build
@@ -98,7 +98,7 @@ jobs:
9898
cmake --build build --target all install -- -v
9999
env:
100100
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
101-
BOOST_INCLUDEDIR: ${{ steps.install-boost.outputs.BOOST_ROOT }}
101+
BOOST_INCLUDEDIR: ${{ steps.install-boost.outputs.BOOST_ROOT }}/include
102102
BOOST_LIBRARYDIR: ${{ steps.install-boost.outputs.BOOST_ROOT }}/lib
103103

104104
- name: Copy

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ if (WIN32)
3737
# Use a newer version of CMake on Windows, so we are NEW for
3838
# https://cmake.org/cmake/help/latest/policy/CMP0149.html
3939
cmake_minimum_required(VERSION 3.27 FATAL_ERROR)
40+
41+
# set boost compiler to avoid errors with boost log
42+
set(Boost_COMPILER "mgw13")
4043
else()
4144
cmake_minimum_required(VERSION 3.25 FATAL_ERROR)
4245
endif()

0 commit comments

Comments
 (0)