diff options
author | Copybara-Service <copybara-worker@google.com> | 2022-07-18 20:45:12 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-07-18 20:45:12 (GMT) |
commit | 7735334a46da480a749945c0f645155d90d73855 (patch) | |
tree | edf95bf0a5d17bd2e7a706ba044b8dbd4c65cc01 /googletest/cmake | |
parent | 43a6712a0c241faf48b2f19d371df057bbb379e6 (diff) | |
parent | a2d6ee847e8f7181c6373901f55ae0abd69ec0ae (diff) | |
download | googletest-7735334a46da480a749945c0f645155d90d73855.zip googletest-7735334a46da480a749945c0f645155d90d73855.tar.gz googletest-7735334a46da480a749945c0f645155d90d73855.tar.bz2 |
Merge pull request #3940 from anpol:pdb-static-lib
PiperOrigin-RevId: 461703446
Change-Id: I61773eafa6d6bf6294218a5117fdebf5dd8a7bb1
Diffstat (limited to 'googletest/cmake')
-rw-r--r-- | googletest/cmake/internal_utils.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake index 42850f5..6f7fdc2 100644 --- a/googletest/cmake/internal_utils.cmake +++ b/googletest/cmake/internal_utils.cmake @@ -162,7 +162,8 @@ function(cxx_library_with_type name type cxx_flags) RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib" - PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin") + PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" + COMPILE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib") # make PDBs match library name get_target_property(pdb_debug_postfix ${name} DEBUG_POSTFIX) set_target_properties(${name} |