[#119] Libsodium CMake issue
We have gotten these errors on SUSE and Rocky Linux (both version 3.20).
CMake Error: Error required internal CMake variable not set, cmake may
not be built correctly.
Missing variable is:
CMAKE_FIND_LIBRARY_PREFIXES
The variable is required by pkg_check_modules()
and is usually set by a
project()
call. In our case, since we need to find a C library, we
just add enable_language(C)
prior to using pkg_check_modules()
.