Skip to content

Commit c106270

Browse files
committed
Add WCSim lib in main CMakeLists.txt
1 parent 71ea87a commit c106270

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ set( PUBLIC_EXT_LIBS )
1616
hk_check_dependencies()
1717

1818
add_definitions(-DHYBRIDWCSIM)
19-
19+
# manually include WCSim libraries
20+
list( APPEND PUBLIC_EXT_LIBS
21+
WCSim::WCSimRoot
22+
WCSim::WCSimCore
23+
)
2024

2125
include_directories(BEFORE
2226
${PROJECT_SOURCE_DIR}/cpp/include

app/utilities/WCRootData/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ set (HEADERS
2929
pbuilder_library(
3030
TARGET WCRootData
3131
SOURCES ${SRC}
32-
PROJECT_LIBRARIES MDT WCSim::WCSimCore
32+
PROJECT_LIBRARIES MDT
3333
PUBLIC_EXTERNAL_LIBRARIES ${PUBLIC_EXT_LIBS}
3434
PRIVATE_EXTERNAL_LIBRARIES ${PRIVATE_EXT_LIBS}
3535
)

cpp/CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11

2-
3-
# Don't include Utilities
4-
#file(GLOB_RECURSE SRC RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cpp")
5-
#file(GLOB_RECURSE HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h")
6-
7-
set (SRC
2+
set (SRC
83
src/Configuration.cc
94
src/HitDigitizer.cc
105
src/HitTube.cc

0 commit comments

Comments
 (0)