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")