Skip to content

Commit

Permalink
Remove boost
Browse files Browse the repository at this point in the history
  • Loading branch information
fcooper8472 committed Jun 7, 2024
1 parent 9b5d616 commit a7a8313
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/test_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: install system packages
run: |
brew install boost gsl
- name: make directories
run: |
mkdir build_dir
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/test_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ jobs:
- name: checkout repo
uses: actions/checkout@v4

- name: install system packages
run: |
sudo apt -y update
sudo apt -y install libboost-dev libgsl-dev
- name: make directories
run: |
mkdir build_dir
Expand Down
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ endif ()
message(STATUS "CMake build type is set to ${CMAKE_BUILD_TYPE}")

# Find required dependencies
find_package(Boost REQUIRED)
find_package(Threads REQUIRED)

# Determine system architecture
Expand Down Expand Up @@ -82,7 +81,7 @@ set(genie_lib_source

add_library(genie_lib STATIC ${genie_lib_header} ${genie_lib_source})
target_include_directories(genie_lib INTERFACE include)
target_link_libraries(genie_lib PUBLIC Boost::headers Threads::Threads)
target_link_libraries(genie_lib PRIVATE Threads::Threads)
IF (NOT HAVE_CLOCK_GETTIME)
target_link_libraries(genie_lib PRIVATE rt)
ENDIF ()
Expand Down

0 comments on commit a7a8313

Please sign in to comment.