aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/AddDllCopyCommands.cmake3
-rw-r--r--cmake/ArmnnConfig.cmake.in5
-rw-r--r--cmake/GlobalConfig.cmake2
3 files changed, 1 insertions, 9 deletions
diff --git a/cmake/AddDllCopyCommands.cmake b/cmake/AddDllCopyCommands.cmake
index 74f6f6fff1..ff57bb173d 100644
--- a/cmake/AddDllCopyCommands.cmake
+++ b/cmake/AddDllCopyCommands.cmake
@@ -72,9 +72,6 @@ macro(addDllCopyCommands target)
addDllCopyCommand(${target} "${MINGW32_ROOT}/bin/libgfortran-3.dll" "${MINGW32_ROOT}/bin/libgfortran-3.dll")
addDllCopyCommand(${target} "${MINGW32_ROOT}/bin/libgcc_s_dw2-1.dll" "${MINGW32_ROOT}/bin/libgcc_s_dw2-1.dll")
addDllCopyCommand(${target} "${MINGW32_ROOT}/bin/libquadmath-0.dll" "${MINGW32_ROOT}/bin/libquadmath-0.dll")
- addBoostDllCopyCommand(${target} ${Boost_SYSTEM_LIBRARY})
- addBoostDllCopyCommand(${target} ${Boost_THREAD_LIBRARY})
- addBoostDllCopyCommand(${target} ${Boost_CHRONO_LIBRARY})
endif()
endif()
endmacro()
diff --git a/cmake/ArmnnConfig.cmake.in b/cmake/ArmnnConfig.cmake.in
index 1e572fea1d..e608f86b6a 100644
--- a/cmake/ArmnnConfig.cmake.in
+++ b/cmake/ArmnnConfig.cmake.in
@@ -7,11 +7,6 @@ include(CMakeFindDependencyMacro)
list(APPEND CMAKE_MODULE_PATH ${ARMNN_CMAKE_DIR})
-add_definitions("-DBOOST_ALL_NO_LIB")
-find_package(Boost 1.59 REQUIRED COMPONENTS system filesystem program_options)
-include_directories(SYSTEM "${Boost_INCLUDE_DIRS}")
-link_directories(${Boost_LIBRARY_DIRS})
-
if(NOT TARGET Armnn::Armnn)
MESSAGE(STATUS "Armnn Import: ${ARMNN_CMAKE_DIR}/ArmnnTargets.cmake")
include("${ARMNN_CMAKE_DIR}/ArmnnTargets.cmake")
diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
index 1db0025daa..3fb12df19d 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -135,7 +135,7 @@ if (NOT BUILD_PIPE_ONLY)
set(Boost_USE_STATIC_LIBS ON)
endif()
add_definitions("-DBOOST_ALL_NO_LIB") # Turn off auto-linking as we specify the libs manually
- find_package(Boost 1.59 REQUIRED COMPONENTS unit_test_framework filesystem system program_options)
+ find_package(Boost 1.59 REQUIRED COMPONENTS unit_test_framework)
include_directories(SYSTEM "${Boost_INCLUDE_DIRS}")
link_directories(${Boost_LIBRARY_DIRS})
endif()