Skip to content

Commit

Permalink
fix: dont use boost static libs
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaDucak committed Jun 7, 2024
1 parent 21450c7 commit 30642d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Release

on: workflow_dispatch

env:
BUILD_TYPE: Release

jobs:
get-version:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -51,7 +48,7 @@ jobs:
- name: Build
run: |
mkdir build && cd build
cmake -DCAPS_LOG_VERSION="${{ needs.create-release.outputs.version }}" .. && make
cmake -DBOOST_USE_STATIC_LIBS=On -DCAPS_LOG_VERSION="${{ needs.create-release.outputs.version }}" -DCMAKE_BUILD_TYPE=Release .. && make
- name: Archive and Upload binaries to release
run: |
Expand All @@ -71,7 +68,7 @@ jobs:
- name: Build for MacOS
run: |
mkdir build-macos && cd build-macos
cmake -DCAPS_LOG_VERSION="${{ needs.create-release.outputs.version }}" .. && make
cmake -DBOOST_USE_STATIC_LIBS=On -DCAPS_LOG_VERSION="${{ needs.create-release.outputs.version }}" -DCMAKE_BUILD_TYPE=Release .. && make
- name: Archive and Upload MacOS binaries to release
run: |
Expand Down
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ if(NOT ftxui_FOUND)
endif()

# --------------------------------- boost -------------------------------- #
set(Boost_USE_STATIC_LIBS ON)
find_package(
Boost
COMPONENTS program_options
Expand Down

0 comments on commit 30642d2

Please sign in to comment.