Skip to content
Snippets Groups Projects
Commit e49336e9 authored by Andrew Maclean's avatar Andrew Maclean
Browse files

Removing extra spaces

parent eec60152
No related branches found
No related tags found
1 merge request!171Add qt6
......@@ -76,8 +76,8 @@ if(NOT Qt6Widgets_FOUND)
endif()
if (NOT DEFINED VTK_QT_VERSION)
set (VTK_QT_VERSION 5)
endif ()
set(VTK_QT_VERSION 5)
endif()
if(NOT qt_version STREQUAL VTK_QT_VERSION)
message(STATUS "VTKWikiExamples: Not building Qt examples, VTK not built with the same Qt version.")
......@@ -144,7 +144,7 @@ foreach(EXAMPLE_FILE ${ALL_FILES})
string(REPLACE ${CMAKE_CURRENT_SOURCE_DIR}/ "" EXAMPLE ${TMP})
add_executable(${WIKI}${EXAMPLE} ${EXECUTABLE_FLAG} ${EXAMPLE}.cxx)
if (Qt${qt_version}Widgets_VERSION VERSION_LESS "5.11.0")
qt5_use_modules(${WIKI}${EXAMPLE} ${qt_components})
qt5_use_modules(${WIKI}${EXAMPLE} ${qt_components})
else()
target_link_libraries(${WIKI}${EXAMPLE} ${qt_modules})
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment