aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/FindNvCloth.cmake
blob: 6ffb0a9e8bfff1598c6127679e885ccff2da7930 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# - Try to find NvCloth
# Once done this will define
#  NVCLOTH_FOUND - System has NvCloth
#  NVCLOTH_ROOT_DIR - The root of NvCloth

# NOTE: We're including a version in this, but the first hint is without one - we should use that!
FIND_PATH(		NVCLOTH_ROOT_DIR include/NvCloth/Fabric.h
				HINTS 
				${GW_DEPS_ROOT}/NvCloth
				${GW_DEPS_ROOT}/sw/devrel/libdev/NvCloth/trunk/NvCloth
				NO_DEFAULT_PATH
				NO_CMAKE_FIND_ROOT_PATH)
				
				
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(NvCloth DEFAULT_MSG NVCLOTH_ROOT_DIR)

mark_as_advanced(NVCLOTH_ROOT_DIR)