From: Armin Novak Date: Fri, 11 May 2018 08:37:50 +0000 (+0200) Subject: VS2017 support: set pdb output directory for Ninja generator. X-Git-Tag: 2.0.0-rc3~35^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a18ee2e7b25174133cf53b867b83a1b0d687b19c;p=platform%2Fupstream%2Ffreerdp.git VS2017 support: set pdb output directory for Ninja generator. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e8e6160..8f311ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -482,7 +482,7 @@ if(WIN32) add_definitions(-D_WINSOCK_DEPRECATED_NO_WARNINGS) set(CMAKE_USE_RELATIVE_PATH ON) - if (${CMAKE_GENERATOR} MATCHES "NMake Makefile*") + if (${CMAKE_GENERATOR} MATCHES "NMake Makefile*" OR ${CMAKE_GENERATOR} MATCHES "Ninja*") set(CMAKE_PDB_BINARY_DIR ${CMAKE_BINARY_DIR}) elseif (${CMAKE_GENERATOR} MATCHES "Visual Studio*") set(CMAKE_PDB_BINARY_DIR "${CMAKE_BINARY_DIR}/\${CMAKE_INSTALL_CONFIG_NAME}")