Updates to Trains. create a job-script to help
[u/mrichter/AliRoot.git] / cmake / FindDATE.cmake
index 47e448a..ceb66e2 100644 (file)
@@ -15,7 +15,7 @@ if(DATE_CONFIG)
   execute_process(COMMAND date-config --cflags OUTPUT_VARIABLE DATEFLAGS OUTPUT_STRIP_TRAILING_WHITESPACE)
   string(REGEX REPLACE "\"" "'" DATEFLAGS ${DATEFLAGS})
   set(DATEFLAGS "-DALI_DATE ${DATEFLAGS}")
-  execute_process(COMMAND date-config --monitorlibs OUTPUT_VARIABLE DMONLIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
+  execute_process(COMMAND date-config --monitorlibs=dyn OUTPUT_VARIABLE DMONLIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
 else()
   set(DATEFLAGS "-D${CMAKE_SYSTEM_NAME} -DDATE_SYS=${CMAKE_SYSTEM_NAME} -Dlong32='int' -Dlong64='long long' -DdatePointer='long'")
 endif(DATE_CONFIG)