aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/samples/external/CMakeModules/FindPxShared.cmake
blob: 3297996c2f0bca20ae49aa677f52a05bb7d11092 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# - Try to find PxShared
# Once done this will define
#  PXSHARED_FOUND - System has PxShared
#  PXSHARED_ROOT_DIR - The root of PxShared

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

mark_as_advanced(PXSHARED_ROOT_DIR)