summaryrefslogtreecommitdiffstats
path: root/project/cmake/scripts
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2016-03-14 18:22:35 +0100
committermanuel <manuel@mausz.at>2016-03-14 18:22:35 +0100
commite0bb1ca2adb966ae334f44faea0452ee9c46de32 (patch)
tree2d5c9f29370ed6edf7758f1b02ea2f9923f3d3cc /project/cmake/scripts
parent4b3b7807b7df1964778855b5c0daab4cc417bd91 (diff)
downloadkodi-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')
-rw-r--r--project/cmake/scripts/common/addon-helpers.cmake2
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)