We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 284c13b commit e0dd829Copy full SHA for e0dd829
builtins/xxhash/xxhash_add_cmakelists.patch
@@ -1,10 +1,11 @@
1
--- /dev/null
2
+++ CMakeLists.txt
3
-@@ -0,0 +1,7 @@
+@@ -0,0 +1,8 @@
4
+cmake_minimum_required(VERSION 3.22)
5
+project(xxhash C)
6
+
7
+add_library(xxhash STATIC xxhash.h xxhash.c)
8
+set_target_properties(xxhash PROPERTIES C_VISIBILITY_PRESET hidden POSITION_INDEPENDENT_CODE ON)
9
10
+add_library(xxHash::xxHash ALIAS xxhash)
11
++install(TARGETS xxhash DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")
0 commit comments