From e7700640e6cd66d8caa597a4fb9877e44faaa1e9 Mon Sep 17 00:00:00 2001 From: dangqingqing Date: Tue, 23 Jan 2018 14:10:11 +0800 Subject: [PATCH] Remove Boost finding in CMake. --- CMakeLists.txt | 3 --- paddle/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8ddd7e207b..bfa3e80d3e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,9 +31,6 @@ if(NOT CMAKE_CROSSCOMPILING) endif(NOT CMAKE_CROSSCOMPILING) find_package(Git REQUIRED) find_package(Threads REQUIRED) -if(NOT ANDROID AND NOT IOS) - find_package(Boost QUIET) -endif() include(simd) diff --git a/paddle/CMakeLists.txt b/paddle/CMakeLists.txt index 4a98ede278..3f9c132ef6 100644 --- a/paddle/CMakeLists.txt +++ b/paddle/CMakeLists.txt @@ -18,7 +18,7 @@ else() add_subdirectory(capi) endif() - if(Boost_FOUND) + if(NOT ANDROID AND NOT IOS) add_subdirectory(memory) add_subdirectory(platform) add_subdirectory(framework) -- GitLab