Skip to content

Commit

Permalink
fix(ci): linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
f0e committed Dec 1, 2024
1 parent cb36815 commit 21b8c7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg

- name: Build
run: cmake --build . --preset ${{ steps.select-preset.outputs.preset }}
run: cmake --build . --preset ${{ steps.select-preset.outputs.preset }} -v
env:
VCPKG_ROOT: ${{ github.workspace }}/vcpkg

Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.20)

set(VCPKG_CRT_LINKAGE static)
set(VCPKG_LIBRARY_LINKAGE static)
if (WIN32)
set(VCPKG_TARGET_TRIPLET "x64-windows-static" CACHE STRING "")
Expand Down
4 changes: 1 addition & 3 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@
"value": "MultiThreadedDLL"
},
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_CXX_FLAGS": "-stdlib=libc++",
"CMAKE_EXE_LINKER_FLAGS": "-stdlib=libc++"
"CMAKE_CXX_COMPILER": "clang++"
},
"generator": "Ninja"
},
Expand Down

0 comments on commit 21b8c7f

Please sign in to comment.