Skip to content
Snippets Groups Projects
Commit f694bbaf authored by Felix Weiglhofer's avatar Felix Weiglhofer Committed by Administrator
Browse files

external: Add Microsoft GSL library.

parent 44db5a9d
No related branches found
No related tags found
1 merge request!933Add GSL as external dependency
......@@ -216,6 +216,12 @@ ${XPU_INCLUDE_DIRECTORY} # Required for XPU_D macro in base data types
)
set(BASE_INCLUDE_DIRECTORIES
${BASE_INCLUDE_DIRECTORIES}
${GSL_INCLUDE_DIRECTORY}
)
### Base directories
add_subdirectory (core)
add_subdirectory (algo)
......
......@@ -11,3 +11,4 @@ jsroot
googletest
yaml-cpp/
xpu/
GSL
......@@ -22,6 +22,14 @@ if(DOWNLOAD_EXTERNALS)
Add_Subdirectory(flib_dpb)
download_project_if_needed(PROJECT gsl
GIT_REPOSITORY "https://github.com/microsoft/GSL.git"
GIT_TAG "v4.0.0"
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/GSL
)
set(GSL_INCLUDE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/GSL/include PARENT_SCOPE)
install(DIRECTORY GSL/include/gsl TYPE INCLUDE)
find_package(Vc 1.4.1)
if(NOT Vc_FOUND)
Message("Vc not found in FairSoft installation, Build included version.")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment