blob: 5b07c1402296d123002dcdc5a0bdcbab42fd01ad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#
# Find PhysX
#
# This is a really dumb finder - it finds the PhysX install we're going to use add_subdirectory on.
# PHYSX_FOUND - System has PhysX
# PHYSX_ROOT_DIR - The PhysX root directory
# First look for the feature branch, then for the trunk
FIND_PATH( PHYSX_ROOT_DIR Include/PxActor.h
HINTS
${GW_DEPS_ROOT}/PhysXSDK
${GW_DEPS_ROOT}/PhysX_3.4
${GW_DEPS_ROOT}/sw/physx/PhysXSDK/3.4/trunk
)
MESSAGE(${PHYSX_ROOT_DIR})
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(PhysX DEFAULT_MSG PHYSX_ROOT_DIR)
mark_as_advanced(PHYSX_ROOT_DIR)
|