windows: Fix .pdb debug symbol file installation 79/238579/1
authorWander Lairson Costa <wander.lairson@gmail.com>
Mon, 13 Jul 2020 18:56:55 +0000 (15:56 -0300)
committerVictor Cebollada <v.cebollada@samsung.com>
Wed, 15 Jul 2020 08:10:02 +0000 (09:10 +0100)
On Windows, the pdb symbol file is located inside the `Debug`
subdirectory.

Change-Id: Iad3de2a7d76a8f21b1d7d45b46a364919b5eae1d

build/tizen/CMakeLists.txt

index 11754d6..6280e33 100644 (file)
@@ -220,7 +220,7 @@ IF( INSTALL_CMAKE_MODULES )
 
   # Install the pdb file.
   IF( ENABLE_DEBUG )
-    install( FILES ${CMAKE_CURRENT_BINARY_DIR}/${name}.pdb DESTINATION ${BIN_DIR} )
+    install( FILES ${CMAKE_CURRENT_BINARY_DIR}/Debug/${name}.pdb DESTINATION ${BIN_DIR} )
   ENDIF()
 ELSE()
   # Install the library so file and symlinks