diff --git a/cmake/externals/faceshift/CMakeLists.txt b/cmake/externals/faceshift/CMakeLists.txt index 14e6851c77..28fbffec34 100644 --- a/cmake/externals/faceshift/CMakeLists.txt +++ b/cmake/externals/faceshift/CMakeLists.txt @@ -29,13 +29,11 @@ if (WIN32) set(LIBRARY_EXT "lib") elseif (APPLE) set(LIBRARY_EXT "a") + set(LIBRARY_PREFIX "lib") if (CMAKE_GENERATOR STREQUAL "Unix Makefiles") - set(LIBRARY_PREFIX "lib") set(LIBRARY_DEBUG_PATH "build") set(LIBRARY_RELEASE_PATH "build") - else () - set(LIBRARY_PREFIX "") endif () endif()