Skip to content

Commit

Permalink
Fixed some outdated private and public dependency lists
Browse files Browse the repository at this point in the history
  • Loading branch information
evrenimre committed May 13, 2024
1 parent c596ed0 commit 7fc45e1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
8 changes: 5 additions & 3 deletions src/Exceptions/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ set(SOURCE_LIST ExceptionWrappers.cpp
PreconditionError.cpp
)

set(PUBLIC_DEPS_LIST Concepts
boost_stacktrace_backtrace
Boost::boost
set(PUBLIC_DEPS_LIST Concepts)

set(PRIVATE_DEPS_LIST boost_stacktrace_backtrace
Boost::boost
)

herd_add_static_library(TARGET ${TARGET_NAME} HEADERS ${HEADER_LIST}
SOURCES ${SOURCE_LIST}
PRIVATE_DEPS ${PRIVATE_DEPS_LIST}
PUBLIC_DEPS ${PUBLIC_DEPS_LIST}
INSTALL
INSTRUMENT
Expand Down
8 changes: 4 additions & 4 deletions src/Generic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ set(SOURCE_LIST MathHelpers.cpp
QuantityRange.cpp
)

set(PUBLIC_DEPS_LIST PUBLIC Exceptions
Boost::boost
Eigen3::Eigen
set(PUBLIC_DEPS_LIST Exceptions
Boost::boost
Eigen3::Eigen
range-v3::range-v3
)

herd_add_static_library(TARGET ${TARGET_NAME} HEADERS ${HEADER_LIST}
SOURCES ${SOURCE_LIST}
PRIVATE_DEPS ${PRIVATE_DEPS_LIST}
PUBLIC_DEPS ${PUBLIC_DEPS_LIST}
INSTALL
INSTRUMENT
Expand Down
3 changes: 2 additions & 1 deletion src/SSE/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ set(SOURCE_LIST ConvectiveEnvelope.cpp
TrackPoint.cpp
)

set(PUBLIC_DEPS_LIST Generic)

set(PRIVATE_DEPS_LIST Exceptions
Generic
Landmarks
Physics
Boost::boost
Expand Down
6 changes: 3 additions & 3 deletions src/SSE/Landmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ set(SOURCE_LIST BaseOfGiantBranch.cpp
ZeroAgeMainSequence.cpp
)

set(PRIVATE_DEPS_LIST Generic
range-v3::range-v3
)
set(PRIVATE_DEPS_LIST range-v3::range-v3)

set(PUBLIC_DEPS_LIST Generic)

herd_add_static_library(TARGET ${TARGET_NAME} HEADERS ${HEADER_LIST}
SOURCES ${SOURCE_LIST}
Expand Down

0 comments on commit 7fc45e1

Please sign in to comment.