diff options
author | Shatur95 <genaloner@gmail.com> | 2020-05-24 17:46:31 +0300 |
---|---|---|
committer | Shatur95 <genaloner@gmail.com> | 2020-05-24 17:46:31 +0300 |
commit | 650861ba46e07d21a45ec4df564b9c9bf67b3f59 (patch) | |
tree | ada65469c3c8952d16c744f42d92cd35f7e0cd92 /examples | |
parent | Merge pull request #103 from Shatur95/update_cmake_examples_version (diff) | |
download | singleapplication-650861ba46e07d21a45ec4df564b9c9bf67b3f59.tar.xz |
Add library alias for CMake
Diffstat (limited to 'examples')
-rw-r--r-- | examples/basic/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/calculator/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/sending_arguments/CMakeLists.txt | 2 |
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) |