Skip to content
Snippets Groups Projects
Commit 22c5dd19 authored by Vassil Vassilev's avatar Vassil Vassilev
Browse files

[cmake] Add missing dependency.

parent 9d1047e8
No related branches found
No related tags found
No related merge requests found
...@@ -377,14 +377,14 @@ if(WIN32) ...@@ -377,14 +377,14 @@ if(WIN32)
set ROOTIGNOREPREFIX=1 && set ROOTIGNOREPREFIX=1 &&
$<TARGET_FILE:root.exe> -l -q -b -n -x hsimple.C -e return $<TARGET_FILE:root.exe> -l -q -b -n -x hsimple.C -e return
WORKING_DIRECTORY tutorials WORKING_DIRECTORY tutorials
DEPENDS $<TARGET_FILE:root.exe> Cling Hist Tree Gpad Graf HistPainter move_artifacts) DEPENDS $<TARGET_FILE:root.exe> Cling Hist Tree GeomPainter Gpad Graf HistPainter move_artifacts)
else() else()
add_custom_command(OUTPUT tutorials/hsimple.root add_custom_command(OUTPUT tutorials/hsimple.root
COMMAND ${ld_library_path}=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}:$ENV{${ld_library_path}} COMMAND ${ld_library_path}=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}:$ENV{${ld_library_path}}
ROOTIGNOREPREFIX=1 ROOTIGNOREPREFIX=1
$<TARGET_FILE:root.exe> -l -q -b -n -x hsimple.C -e return $<TARGET_FILE:root.exe> -l -q -b -n -x hsimple.C -e return
WORKING_DIRECTORY tutorials WORKING_DIRECTORY tutorials
DEPENDS $<TARGET_FILE:root.exe> Cling Hist Tree Gpad Graf HistPainter move_artifacts) DEPENDS $<TARGET_FILE:root.exe> Cling Hist Tree GeomPainter Gpad Graf HistPainter move_artifacts)
endif() endif()
install(FILES ${CMAKE_BINARY_DIR}/tutorials/hsimple.root DESTINATION ${CMAKE_INSTALL_TUTDIR} COMPONENT tests) install(FILES ${CMAKE_BINARY_DIR}/tutorials/hsimple.root DESTINATION ${CMAKE_INSTALL_TUTDIR} COMPONENT tests)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment