No need for extension in the rootmap file
authorhristov <Peter.Hristov@cern.ch>
Mon, 8 Dec 2014 14:33:13 +0000 (15:33 +0100)
committeragrigora <alina.grigoras@cern.ch>
Mon, 15 Dec 2014 12:52:09 +0000 (13:52 +0100)
cmake/CMakeALICE.cmake

index a99f2d7..2af0ea9 100644 (file)
@@ -69,14 +69,14 @@ macro(generate_rootmap LIBNAME LIBDEPS LINKDEF)
         if(ext)
             set(LOCAL_DEPS ${LOCAL_DEPS} ${file})
         else()
-            set(LOCAL_DEPS ${LOCAL_DEPS} lib${file}.so)
+            set(LOCAL_DEPS ${LOCAL_DEPS} lib${file})
         endif()
     endforeach()
 
 #    message(STATUS "Generating ROOT map for ${LIBNAME}")
     add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lib${LIBNAME}.rootmap
                        COMMAND LD_LIBRARY_PATH=${ROOT_LIBDIR}:$ENV{LD_LIBRARY_PATH} ${ROOT_LIBMAP}
-                       ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/lib${LIBNAME}.rootmap -l lib${LIBNAME}.so -d ${LOCAL_DEPS} -c ${LINKDEF}
+                       ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/lib${LIBNAME}.rootmap -l lib${LIBNAME} -d ${LOCAL_DEPS} -c ${LINKDEF}
                        DEPENDS ${LIBNAME}
                        WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} VERBATIM
                       )