Skip to content

Commit e0dd829

Browse files
committed
fix install target
1 parent 284c13b commit e0dd829

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
--- /dev/null
22
+++ CMakeLists.txt
3-
@@ -0,0 +1,7 @@
3+
@@ -0,0 +1,8 @@
44
+cmake_minimum_required(VERSION 3.22)
55
+project(xxhash C)
66
+
77
+add_library(xxhash STATIC xxhash.h xxhash.c)
88
+set_target_properties(xxhash PROPERTIES C_VISIBILITY_PRESET hidden POSITION_INDEPENDENT_CODE ON)
99
+
1010
+add_library(xxHash::xxHash ALIAS xxhash)
11+
+install(TARGETS xxhash DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}")

0 commit comments

Comments
 (0)