We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f1122c commit 7dcf6b1Copy full SHA for 7dcf6b1
CMakeLists.txt
@@ -414,6 +414,7 @@ target_link_libraries(yang ${PCRE2_LIBRARIES})
414
find_package(XXHash)
415
if(XXHASH_FOUND)
416
add_definitions(-DLY_XXHASH_SUPPORT)
417
+ set(PC_XXHASH_LIB libxxhash)
418
include_directories(${XXHASH_INCLUDE_DIR})
419
target_link_libraries(yang ${XXHASH_LIBRARY})
420
message(STATUS "Hash algorithm: xxhash")
libyang.pc.in
@@ -5,7 +5,7 @@ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
5
Name: @PROJECT_NAME@
6
Description: @LIBYANG_DESCRIPTION@
7
Version: @LIBYANG_VERSION@
8
-Requires.private: libpcre2-8
+Requires.private: libpcre2-8 @PC_XXHASH_LIB@
9
Libs: -L${libdir} -lyang
10
Libs.private: -lpcre2-8
11
Cflags: -I${includedir}
0 commit comments