packaging: Add packaging for generating RPM package
[platform/upstream/cmocka.git] / DefineOptions.cmake
1 option(WITH_STATIC_LIB "Build with a static library" OFF)
2 option(WITH_CMOCKERY_SUPPORT "Install a cmockery header" OFF)
3 option(UNIT_TESTING "Build with unit testing" OFF)
4
5 if (UNIT_TESTING)
6     set(WITH_STATIC_LIB ON)
7 endif()