mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-02-02 00:03:32 +00:00
[client] removed unused GMP dependency
This commit is contained in:
parent
7316c1c46c
commit
aa2ea05af9
3 changed files with 0 additions and 24 deletions
|
@ -77,8 +77,6 @@ if(ENABLE_UBSAN)
|
||||||
set(EXE_FLAGS "${EXE_FLAGS} -fsanitize=undefined")
|
set(EXE_FLAGS "${EXE_FLAGS} -fsanitize=undefined")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(GMP)
|
|
||||||
|
|
||||||
add_definitions(-D ATOMIC_LOCKING)
|
add_definitions(-D ATOMIC_LOCKING)
|
||||||
add_definitions(-D GL_GLEXT_PROTOTYPES)
|
add_definitions(-D GL_GLEXT_PROTOTYPES)
|
||||||
|
|
||||||
|
@ -92,12 +90,10 @@ add_custom_command(
|
||||||
include_directories(
|
include_directories(
|
||||||
${PROJECT_SOURCE_DIR}/include
|
${PROJECT_SOURCE_DIR}/include
|
||||||
${CMAKE_BINARY_DIR}/include
|
${CMAKE_BINARY_DIR}/include
|
||||||
${GMP_INCLUDE_DIR}
|
|
||||||
${FONTCONFIG_PKGCONFIG_INCLUDE_DIRS}
|
${FONTCONFIG_PKGCONFIG_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
link_libraries(
|
link_libraries(
|
||||||
${GMP_LIBRARIES}
|
|
||||||
${CMAKE_DL_LIBS}
|
${CMAKE_DL_LIBS}
|
||||||
rt
|
rt
|
||||||
m
|
m
|
||||||
|
|
|
@ -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)
|
|
|
@ -39,7 +39,6 @@ include_directories(
|
||||||
${PROJECT_SOURCE_DIR}/include
|
${PROJECT_SOURCE_DIR}/include
|
||||||
${CMAKE_BINARY_DIR}/include
|
${CMAKE_BINARY_DIR}/include
|
||||||
${PKGCONFIG_INCLUDE_DIRS}
|
${PKGCONFIG_INCLUDE_DIRS}
|
||||||
${GMP_INCLUDE_DIR}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
#link_libraries(
|
#link_libraries(
|
||||||
|
|
Loading…
Reference in a new issue