projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eb12bb
)
VS2017 support: set pdb output directory for Ninja generator.
author
Armin Novak
<armin.novak@thincast.com>
Fri, 11 May 2018 08:37:50 +0000
(10:37 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Fri, 11 May 2018 08:37:50 +0000
(10:37 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
e8e6160
..
8f311ff
100644
(file)
--- 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}")