mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 23:09:52 +02:00
Removed ITK.
This commit is contained in:
parent
4139e4d38b
commit
ab400159bd
2 changed files with 1 additions and 8 deletions
|
@ -23,9 +23,7 @@ if (BUILD_TOOLS)
|
||||||
|
|
||||||
add_subdirectory(oven)
|
add_subdirectory(oven)
|
||||||
set_target_properties(oven PROPERTIES FOLDER "Tools")
|
set_target_properties(oven PROPERTIES FOLDER "Tools")
|
||||||
endif()
|
|
||||||
|
|
||||||
if (DEFINED ENV{ITK_DIR})
|
|
||||||
add_subdirectory(auto-tester)
|
add_subdirectory(auto-tester)
|
||||||
set_target_properties(auto-tester PROPERTIES FOLDER "Tools")
|
set_target_properties(auto-tester PROPERTIES FOLDER "Tools")
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -12,11 +12,6 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
include_directories(${Qt5Core_INCLUDE_DIRS})
|
include_directories(${Qt5Core_INCLUDE_DIRS})
|
||||||
include_directories(${Qt5Widgets_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
|
# Find all sources files
|
||||||
file (GLOB_RECURSE SOURCES src/*.cpp)
|
file (GLOB_RECURSE SOURCES src/*.cpp)
|
||||||
file (GLOB_RECURSE HEADERS src/*.h)
|
file (GLOB_RECURSE HEADERS src/*.h)
|
||||||
|
@ -30,7 +25,7 @@ endif()
|
||||||
add_executable(PROJECT_NAME ${SOURCES} ${HEADERS} ${UIS})
|
add_executable(PROJECT_NAME ${SOURCES} ${HEADERS} ${UIS})
|
||||||
|
|
||||||
set(QT_LIBRARIES Qt5::Core Qt5::Widgets)
|
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.
|
# Copy required dll's.
|
||||||
add_custom_command(TARGET auto-tester POST_BUILD
|
add_custom_command(TARGET auto-tester POST_BUILD
|
||||||
|
|
Loading…
Reference in a new issue