set(WITH_LZ4_EXT OFF) -if(ENABLE_LZ4_EXT) - find_package(LZ4) - if(LZ4_FOUND) +if(1) + find_package(lz4 CONFIG REQUIRED) + if(1) set(WITH_LZ4_EXT ON) list(APPEND BUILT_WITH "LZ4_EXT") @@ -248,4 +248,4 @@ # LZ4 { install( - FILES "${project_config}" "${project_...
When I run conan create I see that CMake configuration fails, it has found expat-config.cmake (due to CMAKE_FIND_PACKAGE_PREFER_CONFIG ON, find_package() has tried first to look at EXPATConfig.cmake, then expat-config.cmake), but target EXPAT::EXPAT doesn't exist. What's going on...
PCL_LIBRARY_DIRS = D:/PCL191/lib. PCL_VERSION = 1.9.1. PCL_COMPONENTS = pcl_common;pcl_kdtree;pcl_octree;pcl_search;pcl_sample_consensus;pcl_filters;pcl_io;pcl_features;pcl_ml;pcl_segmentation;pcl_visualization;pcl_surface;pcl_registration;pcl_keypoints;pcl_tracking;pcl_recognition;pcl_ster...
$ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm python3-subunit mesa-common-dev zstd ...
find_package(LZ4 1.7 REQUIRED) set(HAVE_LZ4 ${LZ4_FOUND}) endif(WITH_LZ4) CMAKE_DEPENDENT_OPTION(WITH_CEPH_DEBUG_MUTEX "Use debug ceph::mutex with lockdep" ON "CMAKE_BUILD_TYPE STREQUAL Debug" OFF) #if allocator is set on command line make sure it matches below strings set(...
PATH LIB 5. Search cmake variables defined in the Platform files for the current system. This can be skipped if NO_CMAKE_SYSTEM_PATH is passed. <prefix>/lib/<arch> if CMAKE_LIBRARY_ARCHITECTURE is set, and <prefix>/lib for each <prefix> in CMAKE_SYSTEM_PREFIX_PATH CMAKE_SYSTEM_...
set(ENABLE_LIBB2 OFF CACHE INTERNAL "Enable the use of the system LIBB2 library if found") set(ENABLE_LZMA ON CACHE INTERNAL "Enable the use of the system LZMA library if found") set(ENABLE_LZ4 OFF CACHE INTERNAL "Enable the use of the system LZ4 library if found") set(ENABLE_...
MYSQL_CHECK_LZ4() # Add protoc and libprotobuf IF(NOT WITHOUT_SERVER) MYSQL_CHECK_PROTOBUF() ENDIF() # Check for SYS_thread_selfid system call CHECK_C_SOURCE_COMPILES(" #include <sys/types.h> #include <sys/syscall.h> #include <unistd.h> int main(int ac, char **...
_package) [cmake] [cmake] [cmake] CMake Error at D:/Program File/cmake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message): [cmake] Could NOT find MySQL Connector/C++ at F:/MyLib/mysql-connector-cpp/lib64. [cmake] (missing: MYSQL_CONCPP_FOUND) (found ...
SET(CMAKE_REQUIRED_LIBRARIES ${LIBB2_LIBRARY}) SET(CMAKE_REQUIRED_INCLUDES ${LIBB2_INCLUDE_DIR}) CHECK_FUNCTION_EXISTS(blake2sp_init HAVE_LIBB2) CMAKE_POP_CHECK_STATE() ELSE(LIBB2_FOUND) SET(ARCHIVE_BLAKE2 TRUE) ENDIF(LIBB2_FOUND) # # Find LZ4 # IF(ENABLE_LZ4) IF...