diff --git a/CMakeLists.txt b/CMakeLists.txt index 800a68e..47448d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,9 @@ set(CMAKE_CXX_STANDARD 20) ################################################################################ +# we explicitly set this to OFF, so xxhash doesn't force users to build a shared library. +option(BUILD_SHARED_LIBS "Build using shared libraries." OFF) + option(KAGEN_NODEPS "Build KaGen without any dependencies." OFF) option(KAGEN_USE_MARCH_NATIVE "Compile with -march=native." OFF)