Commit 27d3936b authored by Aaron Bray's avatar Aaron Bray Committed by Sreekanth Arikatla
Browse files

BUG: Clear build errors for physx builds

parent 898c34bd
......@@ -32,7 +32,7 @@ imstk_add_external_project( PhysX
-DTARGET_BUILD_PLATFORM:STRING=${PHYSX_TARGET_BUILD_PLATFORM}
-DPX_OUTPUT_ARCH:STRING=x86 # Either x86 or arm, only used for naming conventions (postfix)
-DPHYSX_ROOT_DIR:PATH=${PhysX_SOURCE_DIR}/physx
-DCMAKEMODULES_PATH:PATH=${PhysX_SOURCE_DIR}/externals/CMakeModules
-DCMAKEMODULES_PATH:PATH=${PhysX_SOURCE_DIR}/externals/cmakemodules
-DCMAKEMODULES_VERSION:STRING=1.27 # Must be set, but does not do anything...
-DPXSHARED_PATH:PATH=${PhysX_SOURCE_DIR}/pxshared
-DPX_OUTPUT_LIB_DIR:PATH=${PhysX_BINARY_DIR}
......
......@@ -9,13 +9,14 @@ if(NOT PHYSX_CONFIGURATION STREQUAL "RELEASE")
endif()
imstk_find_header(PhysX PxPhysicsAPI.h physx)
# NOTE: Link order matters on linux!
imstk_find_libary(PhysX PhysXExtensions _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysXPvdSDK _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysX _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysXCharacterKinematic _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysXCommon _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysXCooking _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysXExtensions _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysXCommon _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysXFoundation _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysXPvdSDK _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysXCharacterKinematic _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_libary(PhysX PhysXVehicle _static${physx_release_type}_64 _staticDEBUG_64)#Different release and debug postfixes
imstk_find_package(PhysX)
......
......@@ -2,6 +2,7 @@
# Create target
#-----------------------------------------------------------------------------
include(imstkAddLibrary)
imstk_add_library( DynamicalModels
SUBDIR_LIST
ObjectStates
......@@ -22,8 +23,9 @@ imstk_add_library( DynamicalModels
VegaFEM::stvk
VegaFEM::graph
VegaFEM::volumetricMesh
PhysX
)
#-----------------------------------------------------------------------------
# Testing
#-----------------------------------------------------------------------------
......
......@@ -62,8 +62,6 @@ imstk_add_library( SimulationManager
${SIMULATIONMANAGER_SUBDIR}
DEPENDS
Rendering
Devices
Collision
${Vulkan}
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment