Unverified Commit 7dc499e4 authored by Floris Berendsen's avatar Floris Berendsen Committed by GitHub
Browse files

Merge pull request #156 from...

Merge pull request #156 from SuperElastix/SELX-151-Application-Commandline-does-not-install-Demo-scripts-on-linux

BUG: in install script #151
parents 4158f6f7 d1408923
......@@ -115,10 +115,10 @@ if(WIN32)
COMMAND ${CMAKE_COMMAND} -E make_directory ${DEMO_PREFIX}/Scripts
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/Demo/Scripts_Windows/${ScriptFile}.bat" "${DEMO_PREFIX}/Scripts/${ScriptFile}.bat")
endforeach()
else( WIN32 )
else(WIN32)
foreach( ScriptFile ${ScriptFiles} )
add_custom_command(
TARGET demo PRE_BUILD
TARGET demo POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory ${DEMO_PREFIX}/Scripts
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/Demo/Scripts_Linux/${ScriptFile}.sh" "${DEMO_PREFIX}/Scripts/${ScriptFile}.sh")
endforeach()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment