aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorItay Grudev <itay+github.com@grudev.com>2020-05-25 07:01:21 +0100
committerGitHub <noreply@github.com>2020-05-25 07:01:21 +0100
commit91d5d96754c1010cea2b25601c28e362889e4c0c (patch)
tree1424dcf879ce13f6de55b17b04d1f5a8376a94ec /examples
parentMerge pull request #104 from Shatur95/fix_clang_tidy_warnings (diff)
parentAdd library alias for CMake (diff)
downloadsingleapplication-91d5d96754c1010cea2b25601c28e362889e4c0c.tar.xz
Merge pull request #105 from Shatur95/add_cmake_alias
Add library alias for CMake
Diffstat (limited to 'examples')
-rw-r--r--examples/basic/CMakeLists.txt2
-rw-r--r--examples/calculator/CMakeLists.txt2
-rw-r--r--examples/sending_arguments/CMakeLists.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/basic/CMakeLists.txt b/examples/basic/CMakeLists.txt
index dd27028..49be29c 100644
--- a/examples/basic/CMakeLists.txt
+++ b/examples/basic/CMakeLists.txt
@@ -9,5 +9,5 @@ add_executable(basic main.cpp)
find_package(Qt5 COMPONENTS Core REQUIRED)
add_subdirectory(../.. SingleApplication)
-target_link_libraries(${PROJECT_NAME} SingleApplication)
+target_link_libraries(${PROJECT_NAME} SingleApplication::SingleApplication)
diff --git a/examples/calculator/CMakeLists.txt b/examples/calculator/CMakeLists.txt
index cc570dc..990bff5 100644
--- a/examples/calculator/CMakeLists.txt
+++ b/examples/calculator/CMakeLists.txt
@@ -17,4 +17,4 @@ add_executable(${PROJECT_NAME}
find_package(Qt5 COMPONENTS Widgets REQUIRED)
add_subdirectory(../.. SingleApplication)
-target_link_libraries(${PROJECT_NAME} SingleApplication)
+target_link_libraries(${PROJECT_NAME} SingleApplication::SingleApplication)
diff --git a/examples/sending_arguments/CMakeLists.txt b/examples/sending_arguments/CMakeLists.txt
index 1a852b4..06c740f 100644
--- a/examples/sending_arguments/CMakeLists.txt
+++ b/examples/sending_arguments/CMakeLists.txt
@@ -16,4 +16,4 @@ add_executable(${PROJECT_NAME}
find_package(Qt5 COMPONENTS Core REQUIRED)
add_subdirectory(../.. SingleApplication)
-target_link_libraries(${PROJECT_NAME} SingleApplication)
+target_link_libraries(${PROJECT_NAME} SingleApplication::SingleApplication)