mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 01:22:21 +02:00
OS check
check OS for different filenames
This commit is contained in:
parent
a0a1564720
commit
ed09b619d1
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue