aboutsummaryrefslogtreecommitdiff
path: root/ports/cpuid/fix-install-headers.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/cpuid/fix-install-headers.patch')
-rw-r--r--ports/cpuid/fix-install-headers.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/cpuid/fix-install-headers.patch b/ports/cpuid/fix-install-headers.patch
new file mode 100644
index 000000000..d5c9c8641
--- /dev/null
+++ b/ports/cpuid/fix-install-headers.patch
@@ -0,0 +1,13 @@
+diff --git a/libcpuid/CMakeLists.txt b/libcpuid/CMakeLists.txt
+index 96533ac..d71953f 100644
+--- a/libcpuid/CMakeLists.txt
++++ b/libcpuid/CMakeLists.txt
+@@ -75,7 +75,7 @@ install(TARGETS cpuid
+ LIBRARY DESTINATION "lib"
+ ARCHIVE DESTINATION "lib"
+ RUNTIME DESTINATION "bin"
+- INCLUDES DESTINATION "include")
++ PUBLIC_HEADER DESTINATION "include")
+
+ install(FILES "${project_config}" "${version_config}"
+ DESTINATION "${config_install_dir}"