Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove never used FindRngStream.cmake.
[simgrid.git] / tools / cmake / Modules / FindRngStream.cmake
diff --git a/tools/cmake/Modules/FindRngStream.cmake b/tools/cmake/Modules/FindRngStream.cmake
deleted file mode 100644 (file)
index 33e6429..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-find_path(HAVE_RNGSTREAM_H
-  NAME RngStream.h
-  HINTS
-  $ENV{HOME}
-  PATH_SUFFIXES include
-  PATHS
-  /opt
-  /opt/local
-  /opt/csw
-  /sw
-  /usr
-  )
-
-find_library(HAVE_RNGSTREAM_LIB
-  NAME rngstreams
-  HINTS
-  $ENV{HOME}
-  PATH_SUFFIXES lib64 lib lib32
-  PATHS
-  /opt
-  /opt/local
-  /opt/csw
-  /sw
-  /usr
-  )
-
-message(STATUS "Looking for RngStream.h")
-if(HAVE_RNGSTREAM_H)
-  message(STATUS "Looking for RngStream.h - found")
-  string(REGEX MATCH "-I${HAVE_RNGSTREAM_H} " operation "${CMAKE_C_FLAGS}")
-  if(NOT operation)
-    SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}-I${HAVE_RNGSTREAM_H} ")
-  endif()
-else()
-  message(STATUS "Looking for RngStream.h - not found")
-endif()
-
-message(STATUS "Looking for lib rngstreams")
-if(HAVE_RNGSTREAM_LIB)
-  message(STATUS "Looking for lib rngstreams - found")
-  string(REGEX REPLACE "/librngstreams.*" "" HAVE_RNGSTREAM_LIB "${HAVE_RNGSTREAM_LIB}")
-  string(REGEX MATCH "-L${HAVE_RNGSTREAM_LIB} " operation "${CMAKE_C_FLAGS}")
-  if(NOT operation)
-    SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}-L${HAVE_RNGSTREAM_LIB} ")
-  endif()
-else()
-  message(STATUS "Looking for lib rngstreams - not found")
-endif()
-
-mark_as_advanced(HAVE_RNGSTREAM_LIB)
-mark_as_advanced(HAVE_RNGSTREAM_H)
\ No newline at end of file