Compare commits
No commits in common. "c79d5268d33eae8ca4f738420113960e0833ac03" and "64331d7d1c1ef93010eaba9f4f75cb9d3ba2d075" have entirely different histories.
c79d5268d3
...
64331d7d1c
@ -1,5 +1,5 @@
|
||||
if(NOT LIBIONOBASE_PREFIX STREQUAL CMAKE_BINARY_DIR)
|
||||
set(LIBIONOBASE_PREFIX "" CACHE PATH "The path to the prefix of an libionobase installation")
|
||||
set(LIBIONOBASE_PREFIX "" CACHE PATH "The path to the previx of an libionobase installation")
|
||||
|
||||
find_path(
|
||||
LIBIONOBASE_INCLUDE_DIRS
|
||||
|
@ -8,7 +8,7 @@
|
||||
# NOTE: MPFR prefix is understood to be the path to the root of the MPFR
|
||||
# installation library.
|
||||
|
||||
set(MPFR_PREFIX "" CACHE PATH "The path to the prefix of an MPFR installation")
|
||||
set(MPFR_PREFIX "" CACHE PATH "The path to the previx of an MPFR installation")
|
||||
|
||||
find_path(MPFR_INCLUDE_DIR mpfr.h
|
||||
PATHS ${MPFR_PREFIX}/include)
|
||||
|
@ -1,4 +1,4 @@
|
||||
set(MATHGP_PREFIX "" CACHE PATH "The path to the prefix of an MathGL installation")
|
||||
set(MATHGP_PREFIX "" CACHE PATH "The path to the previx of an MathGL installation")
|
||||
|
||||
find_path(MATHGL_INCLUDE_DIR NAMES mgl2/mgl.h
|
||||
PATHS
|
||||
|
@ -1,7 +1,7 @@
|
||||
if(NOT MYXLIB_IS_EXTERNAL_PROJECT)
|
||||
set(MYXLIB_PREFIX
|
||||
""
|
||||
CACHE PATH "The path to the prefix of an myxlib installation")
|
||||
CACHE PATH "The path to the previx of an myxlib installation")
|
||||
|
||||
find_path(
|
||||
MYXLIB_INCLUDE_DIRS
|
||||
|
@ -1,25 +0,0 @@
|
||||
if(NOT VEER_PROTOCOLS_IS_EXTERNAL_PROJECT)
|
||||
set(VEER_PROTOCOLS_PREFIX
|
||||
""
|
||||
CACHE PATH "The path to the prefix of an veer protocols installation")
|
||||
|
||||
find_path(
|
||||
VEER_PROTOCOLS_INCLUDE_DIRS
|
||||
NAMES veer/common/ports.hpp
|
||||
PATHS ${VEER_PROTOCOLS_PREFIX}/include)
|
||||
|
||||
if(VEER_PROTOCOLS_INCLUDE_DIRS)
|
||||
set(VEER_PROTOCOLS_FOUND TRUE)
|
||||
endif()
|
||||
|
||||
if(VEER_PROTOCOLS_FOUND)
|
||||
if(NOT VEER_PROTOCOLS_FIND_QUIETLY)
|
||||
message(STATUS "Found veer protocols")
|
||||
endif()
|
||||
set(HAVE_VEER_PROTOCOLS 1)
|
||||
elseif(VEER_PROTOCOLS_FOUND)
|
||||
if(VEER_PROTOCOLS_FIND_REQUIRED)
|
||||
message(FATAL_ERROR "Could not find veer protocols")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
@ -1,31 +0,0 @@
|
||||
# Подключение внешних проектов
|
||||
include(ExternalProject)
|
||||
|
||||
# cmake-format: off
|
||||
list(APPEND _ext_project_args
|
||||
veer-protocols
|
||||
SOURCE_DIR ${CMAKE_SOURCE_DIR}/thirdparty/veer-protocols
|
||||
INSTALL_DIR ${CMAKE_BINARY_DIR}
|
||||
DOWNLOAD_COMMAND ""
|
||||
CONFIGURE_COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}"
|
||||
-DCMLIB_MAIN_DIR=${CMLIB_MAIN_DIR}
|
||||
${CMLIB_EXT_PROJ_DEFAULT_ARGS}
|
||||
<SOURCE_DIR>)
|
||||
|
||||
if(VeerProtocolsThirdparty_FIND_COMPONENTS STREQUAL "headers")
|
||||
list(APPEND _ext_project_args
|
||||
BUILD_COMMAND true
|
||||
INSTALL_COMMAND ${CMAKE_MAKE_PROGRAM} veer-protocols-install-headers)
|
||||
endif()
|
||||
ExternalProject_Add(${_ext_project_args})
|
||||
unset(_ext_project_args)
|
||||
|
||||
set(VEER_PROTOCOLS_IS_EXTERNAL_PROJECT ON CACHE BOOL "" FORCE)
|
||||
# cmake-format: on
|
||||
|
||||
set(VEER_PROTOCOLS_PREFIX
|
||||
${CMAKE_BINARY_DIR}
|
||||
CACHE FILEPATH "" FORCE)
|
||||
set(VEER_PROTOCOLS_INCLUDE_DIRS
|
||||
${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_INCLUDEDIR}
|
||||
CACHE PATH "" FORCE)
|
Loading…
Reference in New Issue
Block a user