comment phySX
This commit is contained in:
parent
2ca6b0665a
commit
fb09388d4b
|
|
@ -37,17 +37,17 @@ set_target_properties(z PROPERTIES
|
||||||
# )
|
# )
|
||||||
# set(tbb_libs_name tbb tbbmalloc tbbmalloc_proxy)
|
# set(tbb_libs_name tbb tbbmalloc tbbmalloc_proxy)
|
||||||
|
|
||||||
if(USE_PHYSICS_PHYSX)
|
#if(USE_PHYSICS_PHYSX)
|
||||||
set(PhysXSDK PhysX PhysXCommon PhysXFoundation PhysXExtensions PhysXCooking PhysXCharacterKinematic PhysXVehicle PhysXPvdSDK)
|
# set(PhysXSDK PhysX PhysXCommon PhysXFoundation PhysXExtensions PhysXCooking PhysXCharacterKinematic PhysXVehicle PhysXPvdSDK)
|
||||||
foreach(PX IN LISTS PhysXSDK)
|
# foreach(PX IN LISTS PhysXSDK)
|
||||||
add_library(${PX} STATIC IMPORTED GLOBAL)
|
# add_library(${PX} STATIC IMPORTED GLOBAL)
|
||||||
set_target_properties(${PX} PROPERTIES
|
# set_target_properties(${PX} PROPERTIES
|
||||||
IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/PhysX/lib${PX}_static_64.a
|
# IMPORTED_LOCATION ${CMAKE_CURRENT_LIST_DIR}/libs/PhysX/lib${PX}_static_64.a
|
||||||
)
|
# )
|
||||||
endforeach()
|
# endforeach()
|
||||||
else()
|
#else()
|
||||||
set(PhysXSDK)
|
# set(PhysXSDK)
|
||||||
endif()
|
#endif()
|
||||||
|
|
||||||
list(APPEND CC_EXTERNAL_LIBS
|
list(APPEND CC_EXTERNAL_LIBS
|
||||||
#freetype
|
#freetype
|
||||||
|
|
@ -58,7 +58,7 @@ list(APPEND CC_EXTERNAL_LIBS
|
||||||
#crypto
|
#crypto
|
||||||
#ssl
|
#ssl
|
||||||
#${tbb_libs_name}
|
#${tbb_libs_name}
|
||||||
${PhysXSDK}
|
#${PhysXSDK}
|
||||||
)
|
)
|
||||||
|
|
||||||
set(ZLIB z)
|
set(ZLIB z)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue