summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Horn <doughorn@google.com>2021-05-05 12:16:54 -0700
committerDoug Horn <doughorn@google.com>2021-05-05 12:18:10 -0700
commit500378e4b29fc44a692623dfcbfcc46bbdff21f4 (patch)
tree0eb3644af0afe6f77f50b15d9bd16cf9eb2854f3
parentac36396038bbf135dc9549fe511b8f3d087faec4 (diff)
downloadvulkan-cereal-500378e4b29fc44a692623dfcbfcc46bbdff21f4.tar.gz
Add linker flag to generate PDB.
We always want to generate a PDB, so pass the /DEBUG flag on Windows. Note that this is just a linker flag, so we are not compiling with /DEBUG. Bug: NONE Test: Re-generated solution and project files, note that gfxstream_backend now has proper linker flags set. Change-Id: I61ac86181e8c1bdfb72d47529e79c836d2d6ac63
-rw-r--r--stream-servers/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/stream-servers/CMakeLists.txt b/stream-servers/CMakeLists.txt
index bf2b1be2..7b379114 100644
--- a/stream-servers/CMakeLists.txt
+++ b/stream-servers/CMakeLists.txt
@@ -80,6 +80,7 @@ target_link_libraries(
if (WIN32)
target_link_libraries(gfxstream_backend PRIVATE D3d9.lib)
+ target_link_options(gfxstream_backend PRIVATE /DEBUG)
endif()
target_include_directories(
@@ -224,4 +225,4 @@ target_link_libraries(
DisplayVk_unittests
PRIVATE
stream-server-testing-support
- gfxstream-host-common-testing-support) \ No newline at end of file
+ gfxstream-host-common-testing-support)