navid/veins / commit

c1fd2fd008fa

Navid M <navidmomtahen@gmail.com> · 2026-11-28

parents: 071d914946b6

Browse files at this commit · Download source

all: fix comment style in cmakelists.txt
--- a/xveins/CMakeLists.txt+++ b/xveins/CMakeLists.txt@@ -19,16 +19,15 @@ include(FetchContent) include(CheckCXXCompilerFlag) -# Prefer static archives for fetched dependencies (BLAKE3, zstd fallback). set(BUILD_SHARED_LIBS OFF)  find_package(Threads REQUIRED) -# ---------------------------------------------------------------------------+########################################################################## # OpenSSL: TLS 1.3, Ed25519, and cryptographic randomness for the native-# protocol. Homebrew keeps OpenSSL keg-only on macOS, so try `brew` before the-# default search when the caller did not provide an explicit root.-# ---------------------------------------------------------------------------+# protocol. Homebrew keeps OpenSSL keg-only on macOS, so try `brew` before +# the default search when the caller did not provide an explicit root.+########################################################################## if(APPLE AND NOT OPENSSL_ROOT_DIR AND NOT DEFINED ENV{OPENSSL_ROOT_DIR})     find_program(VN_BREW_EXECUTABLE brew)     if(VN_BREW_EXECUTABLE)@@ -49,10 +48,10 @@ find_package(OpenSSL REQUIRED) find_package(ZLIB REQUIRED) -# ---------------------------------------------------------------------------+########################################################################## # zstd: prefer an installed package, otherwise a system library, otherwise # fetch a pinned release.-# ---------------------------------------------------------------------------+########################################################################## find_package(zstd CONFIG QUIET) if(TARGET zstd::libzstd_static)     set(VN_ZSTD_TARGET zstd::libzstd_static)@@ -59,10 +58,6 @@ elseif(TARGET libzstd_static)     set(VN_ZSTD_TARGET libzstd_static) else()-    # Ubuntu/Debian's libzstd-dev ships zstd.h and libzstd.{a,so} but no CMake-    # config. Never pass "libzstd" to the linker: -llibzstd looks for-    # liblibzstd.*. Naming the archive explicitly prefers libzstd.a, which is-    # the equivalent of linking with -l:libzstd.a.     find_library(VN_ZSTD_LIBRARY NAMES libzstd.a zstd)     if(VN_ZSTD_LIBRARY)         find_path(VN_ZSTD_INCLUDE_DIR NAMES zstd.h)@@ -105,9 +100,6 @@     endif() endif() -# ----------------------------------------------------------------------------# BLAKE3: use an installed config when present, otherwise fetch the C sources.-# --------------------------------------------------------------------------- find_package(blake3 CONFIG QUIET) if(TARGET blake3 AND NOT TARGET BLAKE3::blake3)     add_library(BLAKE3::blake3 ALIAS blake3)