CMake: use BULLET_LIBRARIES for both extern_bullet and system libraries

There was no need to differentiate between these and it made
the CMake files more verbose.
This commit is contained in:
2023-01-19 17:07:21 +11:00
parent 978a7459f1
commit 8b7d2d8eb2
7 changed files with 11 additions and 37 deletions

View File

@@ -92,12 +92,6 @@ if(WITH_BULLET)
${BULLET_INCLUDE_DIRS}
../../../intern/rigidbody
)
if(NOT WITH_SYSTEM_BULLET)
list(APPEND LIB
extern_bullet
)
endif()
list(APPEND LIB
${BULLET_LIBRARIES}
)

View File

@@ -196,12 +196,6 @@ if(WITH_BULLET)
${BULLET_INCLUDE_DIRS}
../../../../intern/rigidbody
)
if(NOT WITH_SYSTEM_BULLET)
list(APPEND LIB
extern_bullet
)
endif()
list(APPEND LIB
${BULLET_LIBRARIES}
)