From af8344bbbe3d48dadfce2f745b99bd915648ddb0 Mon Sep 17 00:00:00 2001 From: Sergiu Deitsch Date: Fri, 24 Feb 2023 20:39:46 +0100 Subject: [PATCH] cmake: rename glogbase to glog_internal (#901) --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 582758a..a7b1df6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -639,13 +639,13 @@ if (CYGWIN OR WIN32) ) endif (CYGWIN OR WIN32) -add_library (glogbase OBJECT +add_library (glog_internal OBJECT ${_glog_BINARY_CMake_MODULES} ${GLOG_SRCS} ) add_library (glog - $ + $ ) add_library (glog::glog ALIAS glog) @@ -708,7 +708,7 @@ target_include_directories (glog BEFORE PUBLIC PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src) if (CYGWIN OR WIN32) - target_include_directories (glogbase PUBLIC + target_include_directories (glog_internal PUBLIC "$" PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src/windows) @@ -719,9 +719,9 @@ endif (CYGWIN OR WIN32) set_target_properties (glog PROPERTIES DEFINE_SYMBOL GOOGLE_GLOG_IS_A_DLL) -target_include_directories (glogbase PUBLIC +target_include_directories (glog_internal PUBLIC $) -target_compile_definitions (glogbase PUBLIC +target_compile_definitions (glog_internal PUBLIC $ PRIVATE GOOGLE_GLOG_IS_A_DLL) @@ -755,7 +755,7 @@ endif (WITH_PKGCONFIG) if (BUILD_TESTING) add_library (glogtest STATIC - $ + $ ) target_include_directories (glogtest PUBLIC