This commit is contained in:
Nishi 2025-11-18 22:50:56 +09:00
commit 84c4110bfe
Signed by: nishi
GPG key ID: 27EF69B208EB9343
2 changed files with 0 additions and 0 deletions

View file

@ -1,21 +0,0 @@
find_package(PkgConfig)
macro(pkg_config_add dest name)
pkg_check_modules(${name} REQUIRED ${name})
target_include_directories(
${dest}
PRIVATE
${${name}_INCLUDE_DIRS}
)
target_link_directories(
${dest}
PRIVATE
${${name}_LIBRARY_DIRS}
)
target_link_libraries(
${dest}
PRIVATE
${${name}_LIBRARIES}
)
endmacro()