aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2021-10-06 16:25:00 +0900
committerGitHub <[email protected]>2021-10-06 16:25:00 +0900
commitcecd204a506a723950932629bff2dff35f0ebe84 (patch)
treece75fb7a2691b6f5326fa67e86f3555069dd9cc2 /cmake
parente831805cc034d46740ec12b18d00cb015aafe7e2 (diff)
parent345de8a5414fec432a773d9c2f7644f8be410a1b (diff)
downloadxbyak-cecd204a506a723950932629bff2dff35f0ebe84.tar.gz
xbyak-cecd204a506a723950932629bff2dff35f0ebe84.zip
Merge pull request #129 from Tachi107/meson-cmake-config
build(meson): generate CMake package config files
Diffstat (limited to 'cmake')
-rw-r--r--cmake/meson-config.cmake.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/meson-config.cmake.in b/cmake/meson-config.cmake.in
new file mode 100644
index 0000000..9aeef78
--- /dev/null
+++ b/cmake/meson-config.cmake.in
@@ -0,0 +1,8 @@
+@PACKAGE_INIT@
+
+if(NOT TARGET @TARGET_NAME@)
+ add_library(@TARGET_NAME@ INTERFACE IMPORTED)
+ set_target_properties(@TARGET_NAME@ PROPERTIES
+ INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_LIST_FILE}/include"
+ )
+endif()