mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-10-14 06:34:55 +02:00
Full Distribution
This commit is contained in:
14
cmake/FindGMP.cmake
Normal file
14
cmake/FindGMP.cmake
Normal file
@@ -0,0 +1,14 @@
|
||||
# Locate GMP library
|
||||
# This module defines
|
||||
# GMP_FOUND
|
||||
# GMP_INCLUDE_DIR
|
||||
# GMP_LIBRARIES
|
||||
|
||||
find_path(GMP_INCLUDE_DIR NAMES gmp.h)
|
||||
find_library(GMP_LIBRARIES NAMES gmp libgmp)
|
||||
find_library(GMPXX_LIBRARIES NAMES gmpxx libgmpxx)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GMP DEFAULT_MSG GMP_INCLUDE_DIR GMP_LIBRARIES GMPXX_LIBRARIES)
|
||||
|
||||
mark_as_advanced(GMP_INCLUDE_DIR GMP_LIBRARIES GMPXX_LIBRARIES)
|
Reference in New Issue
Block a user