aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/compiler/cmake/common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'NvCloth/compiler/cmake/common/CMakeLists.txt')
-rw-r--r--NvCloth/compiler/cmake/common/CMakeLists.txt10
1 files changed, 1 insertions, 9 deletions
diff --git a/NvCloth/compiler/cmake/common/CMakeLists.txt b/NvCloth/compiler/cmake/common/CMakeLists.txt
index eddb1d9..bbebc3f 100644
--- a/NvCloth/compiler/cmake/common/CMakeLists.txt
+++ b/NvCloth/compiler/cmake/common/CMakeLists.txt
@@ -8,18 +8,10 @@ CMAKE_POLICY(SET CMP0057 NEW) # Enable IN_LIST
SET(GW_DEPS_ROOT $ENV{GW_DEPS_ROOT})
-SET(CMAKE_MODULE_PATH $ENV{GW_DEPS_ROOT}/sw/physx/tools/CMakeModules)
-
-IF(EXISTS $ENV{GW_DEPS_ROOT}/Externals/CMakeModules)
- SET(CMAKE_MODULE_PATH $ENV{GW_DEPS_ROOT}/Externals/CMakeModules)
-ENDIF()
+SET(CMAKE_MODULE_PATH $ENV{GW_DEPS_ROOT}/NvCloth/Externals/CMakeModules)
MESSAGE( "[NvCloth]cmake/common CMAKE_MODULE_PATH = ${CMAKE_MODULE_PATH}")
-IF(EXISTS $ENV{GW_DEPS_ROOT}/Externals/CMakeModules)
- SET(CMAKE_MODULE_PATH $ENV{GW_DEPS_ROOT}/Externals/CMakeModules)
-ENDIF()
-
# Add find modules to the path
IF(NOT EXISTS ${CMAKE_MODULE_PATH})
MESSAGE(FATAL_ERROR "Could not find CMakeModules at ${CMAKE_MODULE_PATH}")