mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-06-02 18:11:19 +00:00
remove cmake option enable-tests
Always build unit tests instead and use cmakes OBJECT library to bypass visibility control and the value of BUILD_SHARED_LIBS.
This commit is contained in:
parent
063ab5d7d2
commit
521e5451fc
7 changed files with 23 additions and 29 deletions
|
@ -1,5 +1,5 @@
|
|||
macro ( ADD_FLUID_TEST _test )
|
||||
ADD_EXECUTABLE(${_test} ${_test}.c)
|
||||
ADD_EXECUTABLE(${_test} ${_test}.c $<TARGET_OBJECTS:libfluidsynth-OBJ> )
|
||||
TARGET_LINK_LIBRARIES(${_test} libfluidsynth)
|
||||
|
||||
# use the local include path to look for fluidsynth.h, as we cannot be sure fluidsynth is already installed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue