Skip to content

Commit

Permalink
No need for extension in the rootmap file
Browse files Browse the repository at this point in the history
  • Loading branch information
hristov authored and hristov committed Dec 8, 2014
1 parent 2285ac6 commit 7d327d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/CMakeALICE.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 7d327d1

Please sign in to comment.