From 6c97f3e80de9c78b322617b8558bc34e978e29b9 Mon Sep 17 00:00:00 2001 From: Shatur95 Date: Sat, 24 Oct 2020 13:42:20 +0300 Subject: Add Qt6 configuration --- examples/basic/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/basic/CMakeLists.txt') diff --git a/examples/basic/CMakeLists.txt b/examples/basic/CMakeLists.txt index 49be29c..c142923 100644 --- a/examples/basic/CMakeLists.txt +++ b/examples/basic/CMakeLists.txt @@ -4,10 +4,9 @@ project(basic LANGUAGES CXX) # SingleApplication base class set(QAPPLICATION_CLASS QCoreApplication) +add_subdirectory(../.. SingleApplication) add_executable(basic main.cpp) -find_package(Qt5 COMPONENTS Core REQUIRED) -add_subdirectory(../.. SingleApplication) target_link_libraries(${PROJECT_NAME} SingleApplication::SingleApplication) -- cgit v1.2.1