Skip to content

Commit

Permalink
remove glogtest
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiud committed Sep 7, 2023
1 parent f5bdd7d commit c976d3b
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -615,18 +615,7 @@ if (NOT WITH_FUZZING STREQUAL "none")
endif (NOT WITH_FUZZING STREQUAL "none")

if (BUILD_TESTING)
add_library (glogtest STATIC
$<TARGET_OBJECTS:glog_internal>
)

target_include_directories (glogtest PUBLIC
$<TARGET_PROPERTY:glog,INCLUDE_DIRECTORIES>)
target_compile_definitions (glogtest PUBLIC
$<TARGET_PROPERTY:glog,COMPILE_DEFINITIONS> GLOG_STATIC_DEFINE)
target_link_libraries (glogtest PUBLIC
$<TARGET_PROPERTY:glog,LINK_LIBRARIES>)

set (_GLOG_TEST_LIBS glogtest)
set (_GLOG_TEST_LIBS glog_internal $<TARGET_PROPERTY:glog,LINK_LIBRARIES>)

if (HAVE_LIB_GTEST)
list (APPEND _GLOG_TEST_LIBS GTest::gtest)
Expand Down

0 comments on commit c976d3b

Please sign in to comment.