diff --git a/cmake/modules/FindVHACD.cmake b/cmake/modules/FindVHACD.cmake index f7eee44737..03e30b41d4 100644 --- a/cmake/modules/FindVHACD.cmake +++ b/cmake/modules/FindVHACD.cmake @@ -45,7 +45,11 @@ endmacro() find_path(VHACD_INCLUDE_DIRS VHACD.h PATH_SUFFIXES include HINTS ${VHACD_SEARCH_DIRS} $ENV{VHACD_ROOT_DIR}) +if(NOT WIN32) _FIND_VHACD_LIBRARY(VHACD libVHACD.a) +else() +_FIND_VHACD_LIBRARY(VHACD VHACD_LIB) +endif() set(VHACD_LIBRARIES ${VHACD_LIBRARY}) include(FindPackageHandleStandardArgs)