windows: Fix .pdb debug symbol file installation 05/238605/1
authorWander Lairson Costa <wander.lairson@gmail.com>
Mon, 13 Jul 2020 19:12:25 +0000 (16:12 -0300)
committerVictor Cebollada <v.cebollada@samsung.com>
Wed, 15 Jul 2020 10:39:53 +0000 (11:39 +0100)
On Windows, the pdb symbol file is located inside the `Debug`
subdirectory.

Change-Id: I73656a3e0740e68d4ffbecf4820de634ab398b24

build/tizen/CMakeLists.txt

index 22b28c3..e465353 100644 (file)
@@ -344,7 +344,7 @@ IF( INSTALL_CMAKE_MODULES )
 
   # Install the pdb file.
   IF( ENABLE_DEBUG )
 
   # 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
   ENDIF()
 ELSE()
   # Install the library so file and symlinks