Skip to content
Snippets Groups Projects
Commit d25245e8 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

SuperBuild: shark: allow extra user option to link with pthread

parent 41fd122f
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,14 @@ package_require_cxx11(SHARK)
ADD_SUPERBUILD_CMAKE_VAR(SHARK Boost_INCLUDE_DIR)
ADD_SUPERBUILD_CMAKE_VAR(SHARK BOOST_LIBRARYDIR)
#shark master branch has a fix to avoid explicit link with libs
#but tag 3.3 which we use still need a fix.
if(UNIX)
set(SHARK_SB_CONFIG_USER "" CACHE STRING "Extra options to be passed to shark cmake configure cache")
mark_as_advanced(SHARK_SB_CONFIG_USER)
list(APPEND SHARK_SB_CONFIG "${SHARK_SB_CONFIG_USER}")
endif()
ExternalProject_Add(SHARK
PREFIX SHARK
URL "https://github.com/Shark-ML/Shark/archive/349f29bd71c370e0f88f7fc9aa66fa5c4768fcb0.zip"
......
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