summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/deform/CMakeLists.txt
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2022-12-05 11:51:58 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2022-12-05 15:55:53 +0100
commit0c5f1beddcacd7e18b8f71eb08ef55b1f4234d8a (patch)
tree1230380680c77cff4a6323de713d982bab386cdc /examples/widgets/painting/deform/CMakeLists.txt
parentc682d78ac27c144c7309954d3d864932a5642237 (diff)
CMake: Clean up usage of the examples/widgets/painting/shared lib
Remove conversion artifacts. Also, remove setting the include path. The library's interface takes care of that. Change-Id: Ib5043f15ede2171ab876ccbe603ed0b84de1bce4 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/painting/deform/CMakeLists.txt')
-rw-r--r--examples/widgets/painting/deform/CMakeLists.txt19
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/widgets/painting/deform/CMakeLists.txt b/examples/widgets/painting/deform/CMakeLists.txt
index 529dd1ec3a..779d814172 100644
--- a/examples/widgets/painting/deform/CMakeLists.txt
+++ b/examples/widgets/painting/deform/CMakeLists.txt
@@ -15,10 +15,6 @@ find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets)
qt_standard_project_setup()
qt_add_executable(deform
- # remove files from ../shared
- #../shared/arthurstyle.cpp ../shared/arthurstyle.h
- #../shared/arthurwidgets.cpp ../shared/arthurwidgets.h
- #../shared/hoverpoints.cpp ../shared/hoverpoints.h
main.cpp
pathdeform.cpp pathdeform.h
)
@@ -28,10 +24,6 @@ set_target_properties(deform PROPERTIES
MACOSX_BUNDLE TRUE
)
-target_include_directories(deform PRIVATE
- ../shared
-)
-
if(NOT TARGET painting_shared::painting_shared)
include(../shared/use_lib.cmake)
endif()
@@ -103,17 +95,6 @@ qt_add_resources(deform "deform"
${deform_resource_files}
)
-# remove files from ../shared
-#if(QT_FEATURE_opengl)
- #target_sources(affine PRIVATE
- #../shared/fbopaintdevice.cpp ../shared/fbopaintdevice.h
- #)
-
- #target_link_libraries(affine PRIVATE
- #Qt6::OpenGL
- #)
-#endif()
-
install(TARGETS deform
RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"