From c0a97d05b954d737ddb054ea0e7bd2d3911ce3bf Mon Sep 17 00:00:00 2001
From: Rashad Kanavath <rashad.kanavath@c-s.fr>
Date: Tue, 10 Jan 2017 12:06:27 +0100
Subject: [PATCH] Revert "SuperBuild: shark: allow extra user option to link
 with pthread"

This reverts commit bbb308d387d1893a57360d28689bcc2cce068351.
---
 SuperBuild/CMake/External_shark.cmake | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/SuperBuild/CMake/External_shark.cmake b/SuperBuild/CMake/External_shark.cmake
index 5a3a7ea13c..82521ef975 100644
--- a/SuperBuild/CMake/External_shark.cmake
+++ b/SuperBuild/CMake/External_shark.cmake
@@ -10,14 +10,6 @@ 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"
-- 
GitLab