aboutsummaryrefslogtreecommitdiff
path: root/examples/basic
diff options
context:
space:
mode:
authorJonas Kvinge <jonas@jkvinge.net>2020-10-27 20:26:05 +0100
committerGitHub <noreply@github.com>2020-10-27 20:26:05 +0100
commit3dd0c6dfbd4c828fc022501078fbc0b6d1473957 (patch)
tree3e6203b6232fcca6dc3090cc2ec5bcccc9cba900 /examples/basic
parentMerge pull request #118 from Shatur95/improve-qt6-support (diff)
parentEnable checks for warnings (diff)
downloadsingleapplication-3dd0c6dfbd4c828fc022501078fbc0b6d1473957.tar.xz
Merge pull request #120 from Shatur95/master
Add Qt6 CI builds
Diffstat (limited to 'examples/basic')
-rw-r--r--examples/basic/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
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)