diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 085bd6f7..dd8d5d97 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -77,8 +77,6 @@ if(ENABLE_UBSAN) set(EXE_FLAGS "${EXE_FLAGS} -fsanitize=undefined") endif() -find_package(GMP) - add_definitions(-D ATOMIC_LOCKING) add_definitions(-D GL_GLEXT_PROTOTYPES) @@ -92,12 +90,10 @@ add_custom_command( include_directories( ${PROJECT_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include - ${GMP_INCLUDE_DIR} ${FONTCONFIG_PKGCONFIG_INCLUDE_DIRS} ) link_libraries( - ${GMP_LIBRARIES} ${CMAKE_DL_LIBS} rt m diff --git a/client/cmake/FindGMP.cmake b/client/cmake/FindGMP.cmake deleted file mode 100644 index 820f4027..00000000 --- a/client/cmake/FindGMP.cmake +++ /dev/null @@ -1,19 +0,0 @@ -# Try to find the GMP librairies -# GMP_FOUND - system has GMP lib -# GMP_INCLUDE_DIR - the GMP include directory -# GMP_LIBRARIES - Libraries needed to use GMP - -if (GMP_INCLUDE_DIR AND GMP_LIBRARIES) - # Already in cache, be silent - set(GMP_FIND_QUIETLY TRUE) -endif (GMP_INCLUDE_DIR AND GMP_LIBRARIES) - -find_path(GMP_INCLUDE_DIR NAMES gmp.h ) -find_library(GMP_LIBRARIES NAMES gmp libgmp ) -find_library(GMPXX_LIBRARIES NAMES gmpxx libgmpxx ) -MESSAGE(STATUS "GMP libs: " ${GMP_LIBRARIES} " " ${GMPXX_LIBRARIES} ) - -include(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(GMP DEFAULT_MSG GMP_INCLUDE_DIR GMP_LIBRARIES) - -mark_as_advanced(GMP_INCLUDE_DIR GMP_LIBRARIES) diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index 806c3c79..b66c684c 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -39,7 +39,6 @@ include_directories( ${PROJECT_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include ${PKGCONFIG_INCLUDE_DIRS} - ${GMP_INCLUDE_DIR} ) #link_libraries(