diff options
| author | mtamis <[email protected]> | 2017-02-15 16:06:25 +0100 |
|---|---|---|
| committer | mtamis <[email protected]> | 2017-02-15 16:06:25 +0100 |
| commit | 85305930aeeb1d513e23522bd91f29ba81aa6d14 (patch) | |
| tree | 45f1bb20a45a300d1fef107e436cac95602a0e57 /Externals/CMakeModules/FindPxShared.cmake | |
| download | nvcloth-85305930aeeb1d513e23522bd91f29ba81aa6d14.tar.xz nvcloth-85305930aeeb1d513e23522bd91f29ba81aa6d14.zip | |
NvCloth library v1.0.0
Diffstat (limited to 'Externals/CMakeModules/FindPxShared.cmake')
| -rw-r--r-- | Externals/CMakeModules/FindPxShared.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Externals/CMakeModules/FindPxShared.cmake b/Externals/CMakeModules/FindPxShared.cmake new file mode 100644 index 0000000..afee4d7 --- /dev/null +++ b/Externals/CMakeModules/FindPxShared.cmake @@ -0,0 +1,19 @@ +# - 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/cudamanager/PxGpuCopyDesc.h + HINTS + ${GW_DEPS_ROOT}/PxShared + ${GW_DEPS_ROOT}/sw/physx/PxShared/1.0/trunk + ) + + + + +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(PxShared DEFAULT_MSG PXSHARED_ROOT_DIR) + +mark_as_advanced(PXSHARED_ROOT_DIR) |