]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/CMakeLists.txt
adding USE_DLOPEN option for HLT
[u/mrichter/AliRoot.git] / HLT / BASE / CMakeLists.txt
index 808ab636ebc6292bd3f035ef01897d049d194ed1..8aa1106afc2abfbcb6d13bc9357ce8a4fbcb512f 100644 (file)
@@ -34,6 +34,13 @@ include_directories(
                     ${AliRoot_SOURCE_DIR}/STEER/STEERBase
                    )
 
+option(USE_DLOPEN "Use \"dlopen()\" in favor of \"gSystem->Load()\" to load HLT component libraries." OFF)
+
+if(USE_DLOPEN)
+  add_definitions(-DHAVE_DLFCN_H)
+  message(STATUS "Using dlopen() for HLT component libs.")
+endif(USE_DLOPEN)
+
 # Sources in alphabetical order
 set(SRCS
     AliHLTBlockDataCollection.cxx