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

Commit

Permalink
cmake: fix wrong target name
Browse files Browse the repository at this point in the history
  • Loading branch information
wangwenx190 committed Aug 4, 2023
1 parent 2289c4b commit 11ad8cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FramelessHelperConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ foreach(_comp ${@PROJECT_NAME@_FIND_COMPONENTS})
set(__targets_file "${CMAKE_CURRENT_LIST_DIR}/${__target_full}Targets.cmake")
if(EXISTS "${__targets_file}")
include("${__targets_file}")
add_library(${__target} ALIAS ${__target_full})
add_library(${__target} ALIAS @PROJECT_NAME@::${__target_full})
else()
set(@PROJECT_NAME@_FOUND FALSE)
set(@PROJECT_NAME@_NOT_FOUND_MESSAGE "Can't find necessary configuration file for ${__target}, please make sure this component is built successfully and installed properly.")
Expand Down
2 changes: 1 addition & 1 deletion cmake
Submodule cmake updated 1 files
+39 −16 utils.cmake

0 comments on commit 11ad8cc

Please sign in to comment.