Skip to content

Commit

Permalink
Added PUBLIC keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzicheng1987 committed Dec 5, 2024
1 parent 47c9d76 commit e88297e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ if (REFLECTCPP_TOML)
if(REFLECTCPP_USE_VCPKG)
find_package(PkgConfig REQUIRED)
pkg_check_modules(tomlplusplus REQUIRED IMPORTED_TARGET tomlplusplus)
target_link_libraries(reflectcpp PkgConfig::tomlplusplus)
target_link_libraries(reflectcpp PUBLIC PkgConfig::tomlplusplus)
else()
find_package(tomlplusplus)
target_link_libraries(reflectcpp PUBLIC tomlplusplus::tomlplusplus)
Expand Down

0 comments on commit e88297e

Please sign in to comment.