Last active
May 26, 2025 00:34
-
-
Save matlabbe/c858ba36fb85d5e44d8667dfb3543e12 to your computer and use it in GitHub Desktop.
flann 1.8.4 patch for ios build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 3279915..c1f930a 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -155,9 +155,9 @@ endif(WIN32) | |
add_subdirectory( cmake ) | |
add_subdirectory( src ) | |
-add_subdirectory( examples ) | |
-add_subdirectory( test ) | |
-add_subdirectory( doc ) | |
+#add_subdirectory( examples ) | |
+#add_subdirectory( test ) | |
+#add_subdirectory( doc ) | |
# CPACK options |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index e1a6f54..a5d7b57 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -1,4 +1,4 @@ | |
-cmake_minimum_required(VERSION 2.6) | |
+cmake_minimum_required(VERSION 3.5) | |
if(COMMAND cmake_policy) | |
cmake_policy(SET CMP0003 NEW) | |
@@ -146,8 +146,7 @@ if (BUILD_CUDA_LIB) | |
endif(CUDA_FOUND) | |
endif(BUILD_CUDA_LIB) | |
-find_package(PkgConfig REQUIRED) | |
-pkg_check_modules(LZ4 REQUIRED liblz4) | |
+find_package(LZ4 REQUIRED) | |
include_directories(${LZ4_INCLUDE_DIRS}) | |
#set the C/C++ include path to the "include" directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment