Skip to content

Commit

Permalink
JCF: similar to how adding a dependency to CMakeLists.txt means it sh…
Browse files Browse the repository at this point in the history
…ould also be added to detchannelmapsConfig.cmake.in, dropping a dependency means it should be dropped from detchannelmapsConfig.cmake.in
  • Loading branch information
John Freeman committed Mar 13, 2024
1 parent 723886d commit 3d52d8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ find_package(daq-cmake REQUIRED)
find_package(cetlib REQUIRED) # Uses the daq-buildtools/cmake/Findcetlib.cmake
find_package(ers REQUIRED)
find_package(logging REQUIRED)
#find_package(serialization REQUIRED)
find_package(Boost COMPONENTS unit_test_framework REQUIRED)

daq_setup_environment()
Expand All @@ -15,7 +14,7 @@ daq_setup_environment()
##############################################################################
# Main library

daq_add_library(*.cpp LINK_LIBRARIES ${CETLIB} ${CETLIB_EXCEPT} ers::ers logging::logging) # serialization::serialization)
daq_add_library(*.cpp LINK_LIBRARIES ${CETLIB} ${CETLIB_EXCEPT} ers::ers logging::logging)

##############################################################################
# Python bindings
Expand Down
1 change: 0 additions & 1 deletion cmake/detchannelmapsConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ include(CMakeFindDependencyMacro)
find_dependency(ers)
find_dependency(logging)
find_dependency(cetlib)
find_dependency(serialization)

if (EXISTS ${CMAKE_SOURCE_DIR}/@PROJECT_NAME@)

Expand Down

0 comments on commit 3d52d8d

Please sign in to comment.