diff options
Diffstat (limited to 'Externals/CMakeModules/FindPxShared.cmake')
| -rw-r--r-- | Externals/CMakeModules/FindPxShared.cmake | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Externals/CMakeModules/FindPxShared.cmake b/Externals/CMakeModules/FindPxShared.cmake index afee4d7..3297996 100644 --- a/Externals/CMakeModules/FindPxShared.cmake +++ b/Externals/CMakeModules/FindPxShared.cmake @@ -4,15 +4,13 @@ # 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/cudamanager/PxGpuCopyDesc.h +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) |