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:
@@ -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}
|
||||
)
|
||||
|
||||
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user