aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/Tools/AuthoringLibrary/external/CMakeModules/FindPxShared.cmake
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2018-09-12 14:12:47 +0200
committerMarijn Tamis <[email protected]>2018-09-12 14:12:47 +0200
commit7bceea80d4a04649f495f4f4331d7e3bdcdb05ca (patch)
tree824767cccf7b516a8c0b32467c6314eaa802f58d /NvCloth/Tools/AuthoringLibrary/external/CMakeModules/FindPxShared.cmake
parentAdded missing GenerateProjectsIOS.sh file (diff)
downloadnvcloth-7bceea80d4a04649f495f4f4331d7e3bdcdb05ca.tar.xz
nvcloth-7bceea80d4a04649f495f4f4331d7e3bdcdb05ca.zip
1.1.5 Release (24934621)
Diffstat (limited to 'NvCloth/Tools/AuthoringLibrary/external/CMakeModules/FindPxShared.cmake')
-rw-r--r--NvCloth/Tools/AuthoringLibrary/external/CMakeModules/FindPxShared.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/NvCloth/Tools/AuthoringLibrary/external/CMakeModules/FindPxShared.cmake b/NvCloth/Tools/AuthoringLibrary/external/CMakeModules/FindPxShared.cmake
new file mode 100644
index 0000000..c094676
--- /dev/null
+++ b/NvCloth/Tools/AuthoringLibrary/external/CMakeModules/FindPxShared.cmake
@@ -0,0 +1,20 @@
+# - 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/${PxShared_FIND_VERSION}
+ ${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)