diff options
| author | manuel <manuel@mausz.at> | 2016-03-14 18:22:35 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2016-03-14 18:22:35 +0100 |
| commit | e0bb1ca2adb966ae334f44faea0452ee9c46de32 (patch) | |
| tree | 2d5c9f29370ed6edf7758f1b02ea2f9923f3d3cc /project/cmake/scripts/common | |
| parent | 4b3b7807b7df1964778855b5c0daab4cc417bd91 (diff) | |
| download | kodi-pvr-build-e0bb1ca2adb966ae334f44faea0452ee9c46de32.tar.gz kodi-pvr-build-e0bb1ca2adb966ae334f44faea0452ee9c46de32.tar.bz2 kodi-pvr-build-e0bb1ca2adb966ae334f44faea0452ee9c46de32.zip | |
fix build bug on windows
Diffstat (limited to 'project/cmake/scripts/common')
| -rw-r--r-- | project/cmake/scripts/common/addon-helpers.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project/cmake/scripts/common/addon-helpers.cmake b/project/cmake/scripts/common/addon-helpers.cmake index 9541df4..bb7a1da 100644 --- a/project/cmake/scripts/common/addon-helpers.cmake +++ b/project/cmake/scripts/common/addon-helpers.cmake | |||
| @@ -107,7 +107,7 @@ macro (build_addon target prefix libs) | |||
| 107 | IF(CMAKE_BUILD_TYPE MATCHES Debug) | 107 | IF(CMAKE_BUILD_TYPE MATCHES Debug) |
| 108 | # for debug builds also install the PDB file | 108 | # for debug builds also install the PDB file |
| 109 | get_filename_component(LIBRARY_DIR ${LIBRARY_LOCATION} DIRECTORY) | 109 | get_filename_component(LIBRARY_DIR ${LIBRARY_LOCATION} DIRECTORY) |
| 110 | INSTALL(FILES ${LIBRARY_DIR}/${target}.pdb DESTINATION ${target} | 110 | INSTALL(FILES $<TARGET_PDB_FILE_NAME:${target}> DESTINATION ${target} |
| 111 | COMPONENT ${target}-${${prefix}_VERSION}) | 111 | COMPONENT ${target}-${${prefix}_VERSION}) |
| 112 | ENDIF() | 112 | ENDIF() |
| 113 | ELSE(WIN32) | 113 | ELSE(WIN32) |
