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(NOT operation)
-else(HAVE_RNGSTREAM_H)
+ endif()
+else()
message(STATUS "Looking for RngStream.h - not found")
-endif(HAVE_RNGSTREAM_H)
+endif()
message(STATUS "Looking for lib rngstreams")
if(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(NOT operation)
-else(HAVE_RNGSTREAM_LIB)
+ endif()
+else()
message(STATUS "Looking for lib rngstreams - not found")
-endif(HAVE_RNGSTREAM_LIB)
+endif()
mark_as_advanced(HAVE_RNGSTREAM_LIB)
mark_as_advanced(HAVE_RNGSTREAM_H)
\ No newline at end of file