libfort/tests/cmocka-1.1.0/DefineOptions.cmake

8 lines
226 B
CMake
Raw Normal View History

2018-01-01 09:26:34 +01:00
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()