From 596ad8f7a34a680f4f9e9d086b4c47b153bc7a12 Mon Sep 17 00:00:00 2001 From: sjunges Date: Tue, 16 Feb 2016 18:53:51 +0100 Subject: [PATCH] Link directories are not the way to go. Former-commit-id: 135296a5f3cc53109376c6fb9d2de86610ffc4eb --- CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a1d562ae..abac7db36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -207,7 +207,7 @@ endif(CUSTOM_BOOST_ROOT) find_package(Boost 1.56.0 REQUIRED) if ((NOT Boost_LIBRARY_DIRS) OR ("${Boost_LIBRARY_DIRS}" STREQUAL "")) - set(Boost_LIBRARY_DIRS "${Boost_INCLUDE_DIRS}/stage/lib") + set(Boost_LIBRARY_DIRS "${Boost_INCLUDE_DIRS}/stage/lib") endif () link_directories(${Boost_LIBRARY_DIRS}) @@ -427,14 +427,6 @@ if(ENABLE_CUDA) endif() -if(GMP_FOUND) - link_directories(${GMP_LIBRARY_DIR}) -elseif(MPIR_FOUND) - link_directories(${GMP_MPIR_LIBRARY_DIR} ${GMP_MPIRXX_LIBRARY_DIR}) -endif(GMP_FOUND) - - - ############################################################# ## ## CUDD