Commit 7d461bc5 authored by Owen Arnold's avatar Owen Arnold
Browse files

re #3115. Windows-only VATES package. Corrections.

parent 0f37d2bc
......@@ -8,4 +8,8 @@ add_paraview_plugin( MantidParaViewEventNexusReaderSMPlugin "1.0"
target_link_libraries( MantidParaViewEventNexusReaderSMPlugin
${MANTID_SUBPROJECT_LIBS} )
install(TARGETS MantidParaViewEventNexusReaderSMPlugin RUNTIME DESTINATION ${LIB_DIR})
\ No newline at end of file
# Windows-only at the moment.
if( ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
install(TARGETS MantidParaViewEventNexusReaderSMPlugin RUNTIME DESTINATION ${LIB_DIR})
endif( ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
\ No newline at end of file
......@@ -15,4 +15,8 @@ add_paraview_plugin( MantidParaViewEventNexusReaderObjectPanel "1.0"
${SRC_FILES} )
target_link_libraries( MantidParaViewEventNexusReaderObjectPanel
MantidParaViewQtWidgets )
install(TARGETS MantidParaViewEventNexusReaderObjectPanel RUNTIME DESTINATION ${LIB_DIR})
# Windows-only at the moment.
if( ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
install(TARGETS MantidParaViewEventNexusReaderObjectPanel RUNTIME DESTINATION ${LIB_DIR})
endif( ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
\ No newline at end of file
......@@ -29,5 +29,8 @@ target_link_libraries( MantidParaViewQtWidgets ${QT_LIBRARIES}
${MANTID_SUBPROJECT_LIBS} )
add_definitions( -DIN_MANTIDPARAVIEWQT_MANTIDPARAVIEWWIDGETS )
install(TARGETS MantidParaViewQtWidgets RUNTIME DESTINATION ${LIB_DIR})
# Windows-only at the moment.
if( ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
install(TARGETS MantidParaViewQtWidgets RUNTIME DESTINATION ${LIB_DIR})
endif( ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
......@@ -125,4 +125,7 @@ if( CXXTEST_FOUND AND GMOCK_FOUND AND GTEST_FOUND )
add_dependencies( FrameworkTests VatesAPITest )
endif()
install ( TARGETS VatesAPI RUNTIME DESTINATION ${LIB_DIR} )
# Windows-only at the moment.
if( ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
install ( TARGETS VatesAPI RUNTIME DESTINATION ${LIB_DIR} )
endif( ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
\ No newline at end of file
Supports Markdown
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