Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 69d6944

Browse files
authored
Merge pull request #4 from Shatur95/add_cmake_alias
Add library alias for CMake
2 parents 10dd888 + 46fea1e commit 69d6944

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ add_library(${PROJECT_NAME}
88
qtaskbarcontrol.cpp
99
qtaskbarcontrol_p.cpp
1010
)
11+
add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
1112

1213
find_package(Qt5 COMPONENTS Widgets REQUIRED)
1314
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Widgets)

0 commit comments

Comments
 (0)