add GeographicLib

Este commit está contenido en:
Sven Czarnian
2021-11-22 16:16:36 +01:00
padre b1b6b5c790
commit 09e29afe7b
Se han modificado 46 ficheros con 16958 adiciones y 0 borrados

Ver fichero

@@ -21,6 +21,18 @@ ELSE ()
MESSAGE(FATAL_ERROR "Unsupported compiler")
ENDIF ()
# define the import target of GeographicLib
ADD_LIBRARY(GeographicLib STATIC IMPORTED)
IF (MSVC)
SET_TARGET_PROPERTIES(GeographicLib PROPERTIES
IMPORTED_LOCATION_DEBUG "${CMAKE_SOURCE_DIR}/external/lib/Geographic_d.lib"
IMPORTED_LOCATION_RELEASE "${CMAKE_SOURCE_DIR}/external/lib/Geographic.lib"
)
TARGET_INCLUDE_DIRECTORIES(GeographicLib INTERFACE "${CMAKE_SOURCE_DIR}/external/include")
ELSE ()
MESSAGE(FATAL_ERROR "Unsupported compiler")
ENDIF ()
# define the import target of libsodium
ADD_LIBRARY(libsodium STATIC IMPORTED)
IF (MSVC)