Skip to content

Commit

Permalink
Fix the casing of ParaView_DIR.
Browse files Browse the repository at this point in the history
Refs #12719
  • Loading branch information
martyngigg committed Jul 7, 2015
1 parent 60509a3 commit 24b5e2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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 ${_pvplugins_dir} )
endif ()
install( FILES ${PARAVIEW_DIR}/bin/Release/NonOrthogonalSource.dll DESTINATION ${PVPLUGINS_DIR}/${PVPLUGINS_SUBDIR/NonOrthogonalSource.dll)
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 ${_pvplugins_dir} )
endif ()
# Don't install the debug as the packaging is broken under debug
else ()
Expand Down

0 comments on commit 24b5e2a

Please sign in to comment.