Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

Commit 19cd534

Browse files
committed
Fix issue that the Debug mode doesn't work
1 parent 47bbdf6 commit 19cd534

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ set(CMAKE_CXX_FLAGS
4646
"${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -Wno-register -Wno-deprecated-declarations -fPIC -march=native")
4747
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
4848
if(NOT CMAKE_BUILD_TYPE)
49-
set(CMAKE_BUILD_TYPE Release)
49+
set(CMAKE_BUILD_TYPE Release)
5050
endif()
5151

5252
# Define a convenience function for tests

third_party/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ cmake_minimum_required(VERSION 3.3)
33
# These projects all have CMakeLists by default, thank you devs!
44

55
add_subdirectory(googletest)
6+
7+
set_target_properties(gtest
8+
PROPERTIES
9+
DEBUG_POSTFIX "")
610
add_subdirectory(json)
711
add_subdirectory(pybind11)
812
add_subdirectory(spdlog)

third_party/googletest

Submodule googletest updated 263 files

0 commit comments

Comments
 (0)