Skip to content
Snippets Groups Projects
Verified Commit c234be27 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Make tests and examples bool options

parent eaa6f549
No related branches found
No related tags found
No related merge requests found
......@@ -128,10 +128,10 @@ cmake.configure_package_config_file(
input: 'cmake/MatrixClientConfig.cmake.in',
configuration: conf)
if get_option('examples').enabled()
if get_option('examples')
subdir('examples')
endif
if get_option('tests').enabled()
if get_option('tests')
subdir('tests')
endif
option('examples', type : 'feature', value : 'enabled')
option('tests', type : 'feature', value : 'enabled')
option('examples', type : 'boolean', value : false)
option('tests', type : 'boolean', value : false)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment