You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# handle the QUIETLY and REQUIRED arguments and set AliceO2_FOUND to TRUE
33
46
# if all listed variables are TRUE
34
-
find_package_handle_standard_args(AliceO2 "AliceO2 could not be found. Install package AliceO2."AliceO2_LIBRARY_FRAMEWORK AliceO2_LIBRARY_HEADERS AliceO2_INCLUDE_DIR)
47
+
find_package_handle_standard_args(AliceO2 "AliceO2 could not be found. Install package AliceO2."${AliceO2_LIBRARIES_VAR_NAMES} AliceO2_INCLUDE_DIR)
[← Go back to Advanced Topics](Advanced.md) | [↑ Go to the Table of Content ↑](../README.md)
16
19
20
+
## Build
21
+
22
+
### How do I add a dependency to my module ?
23
+
24
+
We use standard CMake and you should get acquainted with this tool. In the CMakeLists.txt of your module, add the missing dependency to the command `target_link_libraries` (i.e. the name of the library without "lib" and ".so".
25
+
For AliceO2 libraries see the next question.
26
+
27
+
### How do I make my module depend on library XXX from AliceO2 ?
28
+
29
+
Add the library name to the list `O2_LIBRARIES_NAMES` in [FindAliceO2.cmake](../cmake/FindAliceO2.cmake)
30
+
17
31
## CCDB repository
18
32
19
33
### How to see which objects are stored in the CCDB ?
0 commit comments