Skip to content

Commit

Permalink
kludge MSVC pedantic error on googletest's use of tr1 - see google/go…
Browse files Browse the repository at this point in the history
  • Loading branch information
biojppm committed Mar 30, 2018
1 parent 383aa82 commit 4a49d25
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ project(c4core)

include(./cmake/c4project.cmake)

if(MSVC)
# silence MSVC pedantic error on googletest's use of tr1: https://github.com/google/googletest/issues/1111
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING")
endif()

c4_declare_project(C4CORE)

set(C4CORE_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
Expand Down
2 changes: 1 addition & 1 deletion cmake
Submodule cmake updated 1 files
+2 −0 c4project.cmake

0 comments on commit 4a49d25

Please sign in to comment.