diff --git a/Plugins/org.mitk.gui.qt.dicom/CMakeLists.txt b/Plugins/org.mitk.gui.qt.dicom/CMakeLists.txt index 78b3653903..82b57c1fd6 100644 --- a/Plugins/org.mitk.gui.qt.dicom/CMakeLists.txt +++ b/Plugins/org.mitk.gui.qt.dicom/CMakeLists.txt @@ -1,23 +1,22 @@ project(org_mitk_gui_qt_dicom) set(QT_USE_QTSQL 1) +set(DCMTK_INSTALL_BIN ${DCMTK_DIR}/bin) include_directories(${CTK_INCLUDE_DIRS}) -# find_program(MITK_STORESCP) - -# mark_as_advanced(MITK_STORESCP) -set(MITK_STORESCP "C:\\Programs\\bla.exe") +find_program(MITK_STORESCP storescp PATH ${DCMTK_INSTALL_BIN}) +mark_as_advanced(MITK_STORESCP) configure_file( org_mitk_gui_qt_dicom_config.h.in org_mitk_gui_qt_dicom_config.h @ONLY) -MITK_INSTALL_HELPER_APP(${VAR_STORESCP}) +MITK_INSTALL_HELPER_APP(${MITK_STORESCP}) MACRO_CREATE_MITK_CTK_PLUGIN( EXPORT_DIRECTIVE DICOM_EXPORT EXPORTED_INCLUDE_SUFFIXES src MODULE_DEPENDENCIES QmitkExt mitkDicomUI ) target_link_libraries(${PLUGIN_TARGET} ${CTK_LIBRARIES})