Skip to content
Snippets Groups Projects
Commit e52b2786 authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Clean up CMake files

A bit of clean up for cmake files
parent e4a58682
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,6 @@ endif()
# Check for Boost
if(EXTERNAL_BOOST)
message(STATUS "Use external Boost")
find_package(Boost REQUIRED COMPONENTS filesystem system mpi serialization)
set(Boost_LIBS ${Boost_LIBRARIES})
......@@ -129,8 +128,6 @@ if(EXTERNAL_BOOST)
include_directories(${Boost_INCLUDE_DIRS})
else(EXTERNAL_BOOST)
message(STATUS "Making Boost")
set(Boost_URL "https://sourceforge.net/projects/boost/files/boost/1.68.0/boost_1_68_0.tar.bz2/download")
set(Boost_SHA1 "18863a7cae4d58ae85eb63d400f774f60a383411")
set(Boost_INSTALL_DIR ${CMAKE_CURRENT_BINARY_DIR}/external/boost)
......@@ -276,9 +273,6 @@ set(MPI_LIBRARIES, ${MPI_CXX_LIBRARIES})
list(GET MPI_CXX_LIBRARIES 0 MPI_LIBRARY)
get_filename_component(MPI_DIR ${MPI_LIBRARY} DIRECTORY)
# Set CMAKE_INSTALL_RPATH
# set(CMAKE_INSTALL_RPATH ${Boost_LIBRARY_DIRS};${LAPACK_DIR};${PYTHON_LIBDIR};${MPI_DIR})
include_directories(${CMAKE_CURRENT_LIST_DIR}/src)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/src)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment