Skip to content

Commit

Permalink
Fix syntax error in file COPY command.
Browse files Browse the repository at this point in the history
Refs #12719
  • Loading branch information
martyngigg committed Jul 7, 2015
1 parent 8346895 commit 9987a61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Vates/ParaviewPlugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ elseif(MSVC)
set( _pvplugins_dir ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/Release/${PVPLUGINS_DIR}/${PVPLUGINS_SUBDIR} )
if (NOT ${_pvplugins_dir} )
file( MAKE_DIRECTORY ${_pvplugins_dir} )
file( COPY ${ParaView_DIR}/bin/Release/NonOrthogonalSource.dll ${_pvplugins_dir} )
file( COPY ${ParaView_DIR}/bin/Release/NonOrthogonalSource.dll DESTINATION ${_pvplugins_dir} )
endif ()
install( FILES ${ParaView_DIR}/bin/Release/NonOrthogonalSource.dll DESTINATION ${PVPLUGINS_DIR}/${PVPLUGINS_SUBDIR}/NonOrthogonalSource.dll)
# Debug
set( _pvplugins_dir ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/Debug/${PVPLUGINS_DIR}/${PVPLUGINS_SUBDIR} )
if (NOT ${_pvplugins_dir} )
file( MAKE_DIRECTORY ${_pvplugins_dir} )
file( COPY ${ParaView_DIR}/bin/Debug/NonOrthogonalSource.dll ${_pvplugins_dir} )
file( COPY ${ParaView_DIR}/bin/Debug/NonOrthogonalSource.dll DESTINATION ${_pvplugins_dir} )
endif ()
# Don't install the debug as the packaging is broken under debug
else ()
Expand Down

0 comments on commit 9987a61

Please sign in to comment.