Skip to content

Commit

Permalink
Fix issue that the Debug mode doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
yuandong-tian committed Feb 8, 2019
1 parent 47bbdf6 commit 19cd534
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ set(CMAKE_CXX_FLAGS
"${CMAKE_CXX_FLAGS} -Wall -Werror -Wextra -Wno-register -Wno-deprecated-declarations -fPIC -march=native")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
set(CMAKE_BUILD_TYPE Release)
endif()

# Define a convenience function for tests
Expand Down
4 changes: 4 additions & 0 deletions third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ cmake_minimum_required(VERSION 3.3)
# These projects all have CMakeLists by default, thank you devs!

add_subdirectory(googletest)

set_target_properties(gtest
PROPERTIES
DEBUG_POSTFIX "")
add_subdirectory(json)
add_subdirectory(pybind11)
add_subdirectory(spdlog)
Expand Down
2 changes: 1 addition & 1 deletion third_party/googletest
Submodule googletest updated 263 files

0 comments on commit 19cd534

Please sign in to comment.