diff options
author | Itay Grudev <itay+github.com@grudev.com> | 2020-05-25 07:01:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-25 07:01:21 +0100 |
commit | 91d5d96754c1010cea2b25601c28e362889e4c0c (patch) | |
tree | 1424dcf879ce13f6de55b17b04d1f5a8376a94ec /CMakeLists.txt | |
parent | Merge pull request #104 from Shatur95/fix_clang_tidy_warnings (diff) | |
parent | Add library alias for CMake (diff) | |
download | singleapplication-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.txt | 1 |
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) |