diff --git a/CMakeLists.txt b/CMakeLists.txt index c569d7aa..12d1af7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ if ( COMMAND cmake_policy ) endif() # Boost -find_package( Boost REQUIRED locale) +find_package( Boost REQUIRED locale chrono) if ( NOT Boost_FOUND ) message(SEND_ERROR "3dfier requires the Boost library") return() diff --git a/cmake/Modules/FindTriangle.cmake b/cmake/Modules/FindTriangle.cmake deleted file mode 100644 index e871560f..00000000 --- a/cmake/Modules/FindTriangle.cmake +++ /dev/null @@ -1,41 +0,0 @@ -#.rst: -# FindTriangle -# -------- -# -# Find Triangle library -# -# Find the Triangle includes and library This module defines -# -# :: -# -# TRIANGLE_INCLUDE_DIRS, where to find triangle.h. -# TRIANGLE_LIBRARIES, libraries to link against to use triangle. -# TRIANGLE_FOUND, If false, do not try to use TRIANGLE. -# -# -# -# -# -#============================================================================= - -find_path(TRIANGLE_INCLUDE_DIR triangle.h - DOC "The Triangle include directory") - -set(TRIANGLE_NAMES ${TRIANGLE_NAMES} libtriangle triangle) -find_library(TRIANGLE_LIBRARY NAMES ${TRIANGLE_NAMES} - DOC "The Triangle library") - -# handle the QUIETLY and REQUIRED arguments and set TRIANGLE_FOUND to TRUE if -# all listed variables are TRUE -include(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(TRIANGLE - REQUIRED_VARS TRIANGLE_LIBRARY - TRIANGLE_INCLUDE_DIR - VERSION_VAR TRIANGLE_VERSION_STRING) - -if(TRIANGLE_FOUND) - set( TRIANGLE_LIBRARIES ${TRIANGLE_LIBRARY} ) - set( TRIANGLE_INCLUDE_DIRS ${TRIANGLE_INCLUDE_DIR} ) -endif() - -mark_as_advanced(TRIANGLE_INCLUDE_DIR TRIANGLE_LIBRARY) \ No newline at end of file