Skip to content

Commit

Permalink
remove unnecessary cmake config
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeLing authored and vigsterkr committed Aug 9, 2017
1 parent de234f6 commit 8497404
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
12 changes: 0 additions & 12 deletions src/shogun/CMakeLists.txt
Expand Up @@ -435,18 +435,6 @@ SHOGUN_DEPENDENCIES(
SCOPE PRIVATE
CONFIG_FLAG HAVE_ARPREC)

###### checks for random
CHECK_FUNCTION_EXISTS(arc4random HAVE_ARC4RANDOM)
IF(NOT HAVE_ARC4RANDOM)
# assume that /dev/random is non-blocking if /dev/urandom does not exist
if(EXISTS /dev/urandom)
set(DEV_RANDOM "/dev/urandom" CACHE INTERNAL "" FORCE)
elseif( EXISTS /dev/random )
set(DEV_RANDOM "/dev/random" CACHE INTERNAL "" FORCE)
endif()
ENDIF()


################## linker optimisations
OPTION(INCREMENTAL_LINKING "Enable incremantal linking")
SET(INCREMENTAL_LINKING_DIR ${CMAKE_BINARY_DIR}/linker_cache
Expand Down
4 changes: 0 additions & 4 deletions src/shogun/lib/config.h.in
Expand Up @@ -135,8 +135,4 @@
/* does the compiler support abi::__cxa_demangle */
#cmakedefine HAVE_CXA_DEMANGLE 1

/* random related defines */
#cmakedefine HAVE_ARC4RANDOM 1
#cmakedefine DEV_RANDOM "@DEV_RANDOM@"

#endif /* __SHOGUN_LIB_CONFIG_H__ */

0 comments on commit 8497404

Please sign in to comment.