Skip to content

Commit

Permalink
cmake: Query OUTPUT_NAME property for pdb name
Browse files Browse the repository at this point in the history
  • Loading branch information
mfleisz committed Dec 13, 2016
1 parent 705c0cf commit 7584c2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/Windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ if(WITH_CLIENT_INTERFACE)
else()
install(TARGETS ${MODULE_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT client)
if (WITH_DEBUG_SYMBOLS AND MSVC)
install(FILES ${CMAKE_PDB_BINARY_DIR}/wfreerdp.pdb DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT symbols)
get_target_property(OUTPUT_FILENAME ${MODULE_NAME} OUTPUT_NAME)
install(FILES ${CMAKE_PDB_BINARY_DIR}/${OUTPUT_FILENAME}.pdb DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT symbols)
endif()
endif()

Expand Down

0 comments on commit 7584c2c

Please sign in to comment.