Removed ITK.

This commit is contained in:
nissim.hadar 2017-11-25 03:13:41 -08:00
parent 4139e4d38b
commit ab400159bd
2 changed files with 1 additions and 8 deletions

View file

@ -23,9 +23,7 @@ if (BUILD_TOOLS)
add_subdirectory(oven)
set_target_properties(oven PROPERTIES FOLDER "Tools")
endif()
if (DEFINED ENV{ITK_DIR})
add_subdirectory(auto-tester)
set_target_properties(auto-tester PROPERTIES FOLDER "Tools")
endif()

View file

@ -12,11 +12,6 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${Qt5Core_INCLUDE_DIRS})
include_directories(${Qt5Widgets_INCLUDE_DIRS})
# ITK includes
set (ITK_DIR ENV{ITK_DIR})
find_package (ITK REQUIRED)
include (${ITK_USE_FILE})
# Find all sources files
file (GLOB_RECURSE SOURCES src/*.cpp)
file (GLOB_RECURSE HEADERS src/*.h)
@ -30,7 +25,7 @@ endif()
add_executable(PROJECT_NAME ${SOURCES} ${HEADERS} ${UIS})
set(QT_LIBRARIES Qt5::Core Qt5::Widgets)
target_link_libraries(${TARGET_NAME} ${QT_LIBRARIES} ${ITK_LIBRARIES})
target_link_libraries(${TARGET_NAME} ${QT_LIBRARIES})
# Copy required dll's.
add_custom_command(TARGET auto-tester POST_BUILD