Commit d41d8e1f authored by Lynn Garren's avatar Lynn Garren
Browse files

CMAKE_CXX_FLAGS might be empty

parent dd536b9a
......@@ -111,7 +111,7 @@ endmacro( _clhep_check_cxxstd )
macro( _clhep_check_for_pthread )
#message(STATUS "_clhep_check_for_pthread debug: CMAKE_CXX_FLAGS: ${CMAKE_CXX_FLAGS}")
if( ${CMAKE_CXX_FLAGS} )
if( NOT "${CMAKE_CXX_FLAGS}" STREQUAL "" )
string(REGEX REPLACE " " ";" flag_list ${CMAKE_CXX_FLAGS})
FOREACH(flag ${flag_list})
#message(STATUS "_clhep_check_for_pthread debug: found flag ${flag}" )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment