aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
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 /CMakeLists.txt
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 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 697c8b5..85dba84 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,6 +8,7 @@ add_library(${PROJECT_NAME} STATIC
singleapplication.cpp
singleapplication_p.cpp
)
+add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
# Find dependencies
find_package(Qt5 COMPONENTS Network REQUIRED)