Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove never used FindRngStream.cmake.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 28 Feb 2019 13:45:22 +0000 (14:45 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 28 Feb 2019 14:36:03 +0000 (15:36 +0100)
tools/cmake/DefinePackages.cmake
tools/cmake/Modules/FindRngStream.cmake [deleted file]

index beea248..282087d 100644 (file)
@@ -1061,7 +1061,6 @@ set(CMAKE_SOURCE_FILES
   tools/cmake/Modules/FindLuaSimgrid.cmake
   tools/cmake/Modules/FindNS3.cmake
   tools/cmake/Modules/FindPAPI.cmake
   tools/cmake/Modules/FindLuaSimgrid.cmake
   tools/cmake/Modules/FindNS3.cmake
   tools/cmake/Modules/FindPAPI.cmake
-  tools/cmake/Modules/FindRngStream.cmake
   tools/cmake/Modules/FindValgrind.cmake
   tools/cmake/Option.cmake
   tools/cmake/scripts/fixup_simgrid_dtd_l.pl
   tools/cmake/Modules/FindValgrind.cmake
   tools/cmake/Option.cmake
   tools/cmake/scripts/fixup_simgrid_dtd_l.pl
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