Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Fix passing of CMAKE_CXX_FLAGS to gtest (#3585)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Procter authored and diyessi committed Sep 10, 2019
1 parent 1fb6fa9 commit 67483af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/external_gtest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ endif()
if(LINUX)
# workaround for compile error
# 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()
set(GTEST_CXX_FLAGS ${CMAKE_CXX_FLAGS})
endif()
Expand Down

0 comments on commit 67483af

Please sign in to comment.