Skip to content

Commit 9322892

Browse files
committed
Adapt for common in its own repo.
1 parent 3aa38f9 commit 9322892

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic -Wextra -fPIC")
6060
# Module, library and executable definition
6161
####################################
6262

63-
link_o2_subproject(Common)
6463
set(MODULE_NAME "InfoLogger")
6564

6665
O2_SETUP(NAME ${MODULE_NAME})

cmake/InfoLoggerDependencies.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
find_package(Boost COMPONENTS unit_test_framework program_options REQUIRED)
22
find_package(Git QUIET)
33
find_package(MySQL)
4+
find_package(Common REQUIRED)
45

56
if(NOT MYSQL_FOUND)
67
message(WARNING "MySQL not found, the corresponding classes won't be built.")
@@ -16,11 +17,11 @@ o2_define_bucket(
1617
DEPENDENCIES
1718
${Boost_PROGRAM_OPTIONS_LIBRARY}
1819
pthread
19-
Common
20+
${Common_LIBRARIES}
2021

2122
SYSTEMINCLUDE_DIRECTORIES
2223
${Boost_INCLUDE_DIRS}
23-
24+
${Common_INCLUDE_DIRS}
2425
)
2526

2627
o2_define_bucket(

0 commit comments

Comments
 (0)