aboutsummaryrefslogtreecommitdiff
path: root/NvCloth/compiler/cmake/mac
diff options
context:
space:
mode:
authorMarijn Tamis <[email protected]>2019-04-01 14:21:09 +0200
committerMarijn Tamis <[email protected]>2019-04-01 14:21:09 +0200
commitd243404d4ba88bcf53f7310cc8980b4efe38c19f (patch)
treedcc8ce2904e9f813e03f71f825c4d3c9ec565d91 /NvCloth/compiler/cmake/mac
parentAdd new SetSpheres and SetPlanes api's to bring them in line with setTriangles. (diff)
downloadarchived-nvcloth-1.1.6.tar.xz
archived-nvcloth-1.1.6.zip
1.1.6 Release.1.1.6
Diffstat (limited to 'NvCloth/compiler/cmake/mac')
-rw-r--r--NvCloth/compiler/cmake/mac/CMakeLists.txt6
-rw-r--r--NvCloth/compiler/cmake/mac/NvCloth.cmake7
2 files changed, 2 insertions, 11 deletions
diff --git a/NvCloth/compiler/cmake/mac/CMakeLists.txt b/NvCloth/compiler/cmake/mac/CMakeLists.txt
index 83ca14d..903e545 100644
--- a/NvCloth/compiler/cmake/mac/CMakeLists.txt
+++ b/NvCloth/compiler/cmake/mac/CMakeLists.txt
@@ -45,12 +45,6 @@ SET(PHYSX_MAC_RELEASE_COMPILE_DEFS NDEBUG;PX_SUPPORT_PVD=0)
SET(PX_SELECT_COMPONENTS PxFoundation)
FIND_PACKAGE(PxShared REQUIRED)
-# Include the PxShared-exports.cmake file that PxShared created. There's other ways to do this, but there's a bunch of issues with it in a CI environment
-# such as - we don't want to be installing any built artifacts on this server, etc. So for now we hack it.
-
-# Add PxShared as a dependency so that we can use project references
-ADD_SUBDIRECTORY(${PXSHARED_ROOT_DIR}/src/compiler/cmake/mac "${CMAKE_CURRENT_BINARY_DIR}/pxshared_bin")
-
# Include all of the projects
INCLUDE(NvCloth.cmake)
diff --git a/NvCloth/compiler/cmake/mac/NvCloth.cmake b/NvCloth/compiler/cmake/mac/NvCloth.cmake
index faea6fd..086b508 100644
--- a/NvCloth/compiler/cmake/mac/NvCloth.cmake
+++ b/NvCloth/compiler/cmake/mac/NvCloth.cmake
@@ -15,6 +15,8 @@ SET(NVCLOTH_PLATFORM_INCLUDES
)
SET(NVCLOTH_PLATFORM_SOURCE_FILES
+ ${PROJECT_ROOT_DIR}/src/ps/unix/PsUnixAtomic.cpp
+ ${PROJECT_ROOT_DIR}/src/ps/unix/PsUnixFPU.h
#${PROJECT_ROOT_DIR}/src/neon/NeonCollision.cpp
#${PROJECT_ROOT_DIR}/src/neon/NeonSelfCollision.cpp
#${PROJECT_ROOT_DIR}/src/neon/NeonSolverKernel.cpp
@@ -42,11 +44,6 @@ SET(NVCLOTH_LIBTYPE SHARED)
INCLUDE(../common/NvCloth.cmake)
-# Add linked libraries
-# TARGET_LINK_LIBRARIES(NvCloth PUBLIC ${NVTOOLSEXT_LIBRARIES} LowLevel LowLevelAABB LowLevelCloth LowLevelDynamics LowLevelParticles PhysXCommon PhysXGpu PxFoundation PxPvdSDK PxTask SceneQuery SimulationController)
-
-TARGET_LINK_LIBRARIES(NvCloth PUBLIC PxFoundation)
-
SET_TARGET_PROPERTIES(NvCloth PROPERTIES
LINK_FLAGS_DEBUG ""
LINK_FLAGS_CHECKED ""