add GeographicLib
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user