Skip to content

Commit 455e07c

Browse files
committed
Adapt for common in its own repo.
1 parent 97c8189 commit 455e07c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -fPIC")
6363

6464
set(MODULE_NAME "ReadoutCard")
6565

66-
link_o2_subproject(Common)
6766
link_o2_subproject(InfoLogger)
6867

6968
O2_SETUP(NAME ${MODULE_NAME})

cmake/ReadoutCardDependencies.cmake

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ find_package(Boost 1.56
1616
REQUIRED
1717
)
1818
find_package(Git QUIET)
19+
find_package(Common REQUIRED)
1920

2021
# Python
2122
find_package(PythonLibs 2.7)
@@ -52,12 +53,13 @@ o2_define_bucket(
5253
${Boost_SYSTEM_LIBRARY}
5354
${Boost_PROGRAM_OPTIONS_LIBRARY}
5455
InfoLogger
55-
Common
5656
${rt_lib}
5757
pthread
58+
${Common_LIBRARIES}
5859

5960
SYSTEMINCLUDE_DIRECTORIES
6061
${Boost_INCLUDE_DIR}
62+
${Common_INCLUDE_DIRS}
6163
)
6264

6365
o2_define_bucket(

0 commit comments

Comments
 (0)