diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-12-05 11:51:58 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-12-05 15:55:53 +0100 |
commit | 0c5f1beddcacd7e18b8f71eb08ef55b1f4234d8a (patch) | |
tree | 1230380680c77cff4a6323de713d982bab386cdc /examples/widgets/painting/pathstroke/CMakeLists.txt | |
parent | c682d78ac27c144c7309954d3d864932a5642237 (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/pathstroke/CMakeLists.txt')
-rw-r--r-- | examples/widgets/painting/pathstroke/CMakeLists.txt | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/examples/widgets/painting/pathstroke/CMakeLists.txt b/examples/widgets/painting/pathstroke/CMakeLists.txt index de07332b5f..88208d0489 100644 --- a/examples/widgets/painting/pathstroke/CMakeLists.txt +++ b/examples/widgets/painting/pathstroke/CMakeLists.txt @@ -15,10 +15,6 @@ find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets) qt_standard_project_setup() qt_add_executable(pathstroke - # remove files from ../shared - #../shared/arthurstyle.cpp ../shared/arthurstyle.h - #../shared/arthurwidgets.cpp ../shared/arthurwidgets.h - #../shared/hoverpoints.cpp ../shared/hoverpoints.h main.cpp pathstroke.cpp pathstroke.h ) @@ -28,10 +24,6 @@ set_target_properties(pathstroke PROPERTIES MACOSX_BUNDLE TRUE ) -target_include_directories(pathstroke PRIVATE - ../shared -) - if(NOT TARGET painting_shared::painting_shared) include(../shared/use_lib.cmake) endif() @@ -103,17 +95,6 @@ qt_add_resources(pathstroke "pathstroke" ${pathstroke_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 pathstroke RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}" BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}" |