libfort/tests/cmocka-1.1.0/DefineOptions.cmake
2018-01-01 11:26:34 +03:00

8 lines
226 B
CMake

option(WITH_STATIC_LIB "Build with a static library" OFF)
option(WITH_CMOCKERY_SUPPORT "Install a cmockery header" OFF)
option(UNIT_TESTING "Build with unit testing" OFF)
if (UNIT_TESTING)
set(WITH_STATIC_LIB ON)
endif()