From 61c8e6c78678a62498c167141e08bcaa521ac538 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 21 Jul 2013 23:18:35 +0200 Subject: Include PDBs with Windows MSVC builds --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 75edab97..b73f9dbe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -647,6 +647,11 @@ if(WIN32 AND NOT SDK_FACEAPI_ONLY) ) endif() +if(MSVC) + file(GLOB pdbs "${CMAKE_BINARY_DIR}/*.pdb") + install(FILES ${pdbs} DESTINATION .) +endif() + if(WIN32 AND SDK_SM_FACEAPI_PATH) if(MSVC80) install(TARGETS opentrack-faceapi-wrapper -- cgit v1.2.3