Commit a7b26b66 authored by Ghislain MARY's avatar Ghislain MARY

Correctly handle ENABLE_UNIT_TESTS option.

parent 5c17f93e
......@@ -29,3 +29,7 @@ lcb_package_source(YES)
lcb_spec_file("belcard.spec")
lcb_dependencies("bctoolbox" "belr")
lcb_cmake_options(
"-DENABLE_UNIT_TESTS=${ENABLE_UNIT_TESTS}"
)
......@@ -30,5 +30,8 @@ lcb_package_source(YES)
lcb_dependencies("bctoolbox")
lcb_spec_file("ortp.spec")
lcb_cmake_options("-DENABLE_DOC=${ENABLE_DOC}")
lcb_cmake_options(
"-DENABLE_DOC=${ENABLE_DOC}"
"-DENABLE_UNIT_TESTS=${ENABLE_UNIT_TESTS}"
)
......@@ -38,7 +38,9 @@ set(DEFAULT_VALUE_ENABLE_OPUS ON)
set(DEFAULT_VALUE_ENABLE_SPEEX ON)
set(DEFAULT_VALUE_ENABLE_SRTP ON)
set(DEFAULT_VALUE_ENABLE_TOOLS OFF)
set(DEFAULT_VALUE_ENABLE_UNIT_TESTS ON)
if(NOT LINPHONE_BUILDER_ENABLE_RPM_PACKAGING)
set(DEFAULT_VALUE_ENABLE_UNIT_TESTS ON)
endif()
set(DEFAULT_VALUE_ENABLE_VCARD ON)
set(DEFAULT_VALUE_ENABLE_VIDEO ON)
set(DEFAULT_VALUE_ENABLE_VPX ON)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment