summaryrefslogtreecommitdiffstats
path: root/googletest/cmake
diff options
context:
space:
mode:
authorDavid Neto <dneto@google.com>2018-10-11 16:52:08 (GMT)
committerGennadiy Civil <misterg@google.com>2018-10-11 16:52:55 (GMT)
commitad997b16b5f9193809e168153e75645370812266 (patch)
treebe46f48f9d5f43bdad1e1d4e57bba9be09149409 /googletest/cmake
parente7327c13f6f20dff89a3f9e434eddce838564189 (diff)
downloadgoogletest-ad997b16b5f9193809e168153e75645370812266.zip
googletest-ad997b16b5f9193809e168153e75645370812266.tar.gz
googletest-ad997b16b5f9193809e168153e75645370812266.tar.bz2
Merge 4c92120d6dedb4eeb499a8702faea0224e0a8b23 into 658c6390a5b363f46c6ad448ad1bce9d6e97e53a
Closes #1893 PiperOrigin-RevId: 216712426
Diffstat (limited to 'googletest/cmake')
-rw-r--r--googletest/cmake/internal_utils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/cmake/internal_utils.cmake b/googletest/cmake/internal_utils.cmake
index 9117406..9867436 100644
--- a/googletest/cmake/internal_utils.cmake
+++ b/googletest/cmake/internal_utils.cmake
@@ -352,7 +352,7 @@ function(install_project)
get_target_property(t_pdb_name_debug ${t} COMPILE_PDB_NAME_DEBUG)
get_target_property(t_pdb_output_directory ${t} PDB_OUTPUT_DIRECTORY)
install(FILES
- "${t_pdb_output_directory}/\${CMAKE_INSTALL_CONFIG_NAME}/$<IF:$<CONFIG:Debug>,${t_pdb_name_debug},${t_pdb_name}>.pdb"
+ "${t_pdb_output_directory}/\${CMAKE_INSTALL_CONFIG_NAME}/$<$<CONFIG:Debug>:${t_pdb_name_debug}>$<$<NOT:$<CONFIG:Debug>>:${t_pdb_name}>.pdb"
DESTINATION ${CMAKE_INSTALL_LIBDIR}
OPTIONAL)
endforeach()