Skip to content

Commit

Permalink
Use C++17 standard to build.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnoel committed Jan 30, 2024
1 parent 37a46e5 commit 6b62ea7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/gtests/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@ endif

gtest-all.obj: googletest-read-only
ifeq ($(CMDSHELL),cmd)
$(CXX) -c $(CXXFLAGS) -std=c++11 -g -I$(GTEST_DIR)\\include -I$(GTEST_DIR) -o $@ $(GTEST_DIR)\\src\\gtest-all.cc
$(CXX) -c $(CXXFLAGS) -std=c++17 -g -I$(GTEST_DIR)\\include -I$(GTEST_DIR) -o $@ $(GTEST_DIR)\\src\\gtest-all.cc
else
$(CXX) -c $(CXXFLAGS) -std=c++11 -g -I$(GTEST_DIR)/include -I$(GTEST_DIR) -o $@ $(GTEST_DIR)/src/gtest-all.cc
$(CXX) -c $(CXXFLAGS) -std=c++17 -g -I$(GTEST_DIR)/include -I$(GTEST_DIR) -o $@ $(GTEST_DIR)/src/gtest-all.cc
endif

googletest-read-only:
Expand Down

0 comments on commit 6b62ea7

Please sign in to comment.