Skip to content

Commit

Permalink
Update gtest.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
daquexian committed Jul 1, 2019
1 parent 7baa989 commit 02c694f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ if (BNN_BUILD_MAIN_LIB)
if (${BNN_BUILD_TEST})
include(cmake/gtest.cmake)
configure_gtest()
add_subdirectory(third_party/googletest)
endif()

add_subdirectory(dabnn)
Expand Down
3 changes: 2 additions & 1 deletion cmake/gtest.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright 2019 JD.com Inc. JD AI

macro(configure_gtest)
message(STATUS "Configureing gtest...")
message(STATUS "Configuring gtest...")
option(BUILD_GMOCK "Builds the googlemock subproject" OFF)
option(INSTALL_GTEST "Enable installation of googletest. (Projects embedding googletest may want to turn this OFF.)" OFF)
add_subdirectory(third_party/googletest)
endmacro()

0 comments on commit 02c694f

Please sign in to comment.