From ee521ed36993ed3ae9f1cd689b1a42dd892d255e Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Thu, 23 Mar 2017 17:06:22 -0700 Subject: [PATCH] handle library release path for faceshift MinSizeRel build --- cmake/externals/faceshift/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/externals/faceshift/CMakeLists.txt b/cmake/externals/faceshift/CMakeLists.txt index ed387be34f..2ab5cfe6c3 100644 --- a/cmake/externals/faceshift/CMakeLists.txt +++ b/cmake/externals/faceshift/CMakeLists.txt @@ -28,7 +28,7 @@ if (WIN32) set(LIBRARY_PREFIX "") set(LIBRARY_EXT "lib") # use RelWithDebInfo in release path when building RelWithDebInfo config on Windows - set(LIBRARY_RELEASE_PATH "$<$:build/RelWithDebInfo>$<$>:lib/Release>") + set(LIBRARY_RELEASE_PATH "$<$:build/RelWithDebInfo>$<$:build/MinSizeRel>$<$:lib/Release>") elseif (APPLE) set(LIBRARY_EXT "a") set(LIBRARY_PREFIX "lib")