Further, force shared builds in case of unit tests.
if(ENABLE_UNIT_TESTING)
find_package(CxxTest REQUIRED)
enable_testing()
+ # Force shared libs for unit tests, static libs with unit tests are not
+ # working right now.
+ set(ENABLE_SHARED ON)
endif()
if(ENABLE_SHARED)
# enable_valgrind=no
cvc4_set_option(ENABLE_VALGRIND OFF)
# enable_shared=no
-cvc4_set_option(ENABLE_SHARED OFF)
cvc4_set_option(ENABLE_UNIT_TESTING OFF)
+cvc4_set_option(ENABLE_SHARED ON)
cvc4_set_option(ENABLE_MUZZLE OFF)
# enable_valgrind=optional
cvc4_set_option(ENABLE_UNIT_TESTING ON)
+cvc4_set_option(ENABLE_SHARED ON)
# enable_valgrind=no
cvc4_set_option(ENABLE_VALGRIND OFF)
cvc4_set_option(ENABLE_UNIT_TESTING OFF)
+cvc4_set_option(ENABLE_SHARED ON)
# enable_valgrind=no
cvc4_set_option(ENABLE_VALGRIND OFF)
cvc4_set_option(ENABLE_UNIT_TESTING ON)
+cvc4_set_option(ENABLE_SHARED ON)