Commit 67483af0 authored by Adam Procter's avatar Adam Procter Committed by Scott Cyphers

Fix passing of CMAKE_CXX_FLAGS to gtest (#3585)

parent 1fb6fa96
...@@ -38,7 +38,7 @@ endif() ...@@ -38,7 +38,7 @@ endif()
if(LINUX) if(LINUX)
# workaround for compile error # workaround for compile error
# related: https://github.com/intel/mkl-dnn/issues/55 # related: https://github.com/intel/mkl-dnn/issues/55
set(GTEST_CXX_FLAGS -Wno-unused-result ${CMAKE_CXX_FLAGS}) set(GTEST_CXX_FLAGS "-Wno-unused-result ${CMAKE_CXX_FLAGS}")
else() else()
set(GTEST_CXX_FLAGS ${CMAKE_CXX_FLAGS}) set(GTEST_CXX_FLAGS ${CMAKE_CXX_FLAGS})
endif() endif()
......
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