From ce35044b97c187a800202b36d4653091b334121e Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 24 Oct 2013 22:16:21 +0200 Subject: more robust PDB install handling --- CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4b524310..5238c1e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -599,7 +599,7 @@ endif() endif() if(MSVC) - SET_TARGET_PROPERTIES(opentrack PROPERTIES LINK_FLAGS "/NODEFAULTLIB:LIBCMT") + SET_TARGET_PROPERTIES(opentrack PROPERTIES LINK_FLAGS "/NODEFAULTLIB:LIBCMT.lib") endif() if(UNIX) @@ -787,8 +787,9 @@ if(SDK_SM_FACEAPI_PATH AND NOT SDK_FACEAPI_ONLY) endif() if(MSVC) - file(GLOB pdbs "${CMAKE_BINARY_DIR}/Release/*.pdb") - install(FILES ${pdbs} DESTINATION .) + file(GLOB pdbs1 "${CMAKE_BINARY_DIR}/Release/*.pdb") + file(GLOB pdbs2 "${CMAKE_BINARY_DIR}/*.pdb") + install(FILES ${pdbs} ${pdbs2} DESTINATION .) endif() if(SDK_SM_FACEAPI_PATH AND (MSVC80 OR MINGW)) -- cgit v1.2.3