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

Commit

Permalink
Merge pull request #4 from Shatur95/add_cmake_alias
Browse files Browse the repository at this point in the history
Add library alias for CMake
  • Loading branch information
Skycoder42 authored May 25, 2020
2 parents 10dd888 + 46fea1e commit 69d6944
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ add_library(${PROJECT_NAME}
qtaskbarcontrol.cpp
qtaskbarcontrol_p.cpp
)
add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})

find_package(Qt5 COMPONENTS Widgets REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE Qt5::Widgets)
Expand Down

0 comments on commit 69d6944

Please sign in to comment.