Simplification
authorhristov <Peter.Hristov@cern.ch>
Thu, 18 Dec 2014 08:32:03 +0000 (09:32 +0100)
committerhristov <Peter.Hristov@cern.ch>
Thu, 18 Dec 2014 08:32:12 +0000 (09:32 +0100)
OCDB/CMakeLists.txt

index 48b5601..95d6ed9 100644 (file)
@@ -17,9 +17,7 @@
 if(CMAKE_HOST_UNIX)
   # Symbolic link to OCDB, if supported
   install(CODE "
-    EXECUTE_PROCESS(COMMAND ln -sf ${AliRoot_SOURCE_DIR}/OCDB 
-       WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}
-       )
+    EXECUTE_PROCESS(COMMAND ln -sf ${AliRoot_SOURCE_DIR}/OCDB ${CMAKE_INSTALL_PREFIX})
     ")
   message(STATUS "OCDB linked")
 else(CMAKE_HOST_UNIX)