2024-05-16 23:14:41 +00:00
|
|
|
# BuildPreferences.cmake
|
|
|
|
# License: Unlicense (https://unlicense.org)
|
|
|
|
|
|
|
|
include(BuildOptions)
|
|
|
|
include(Util)
|
|
|
|
|
2024-05-16 23:18:22 +00:00
|
|
|
prevent_in_source_build()
|
2024-05-16 23:26:48 +00:00
|
|
|
disable_deprecated_features()
|
2024-05-16 23:14:41 +00:00
|
|
|
|
2024-05-16 23:26:48 +00:00
|
|
|
# When this package is included as a subproject, there's no need to
|
|
|
|
# build and run the unit-tests.
|
|
|
|
# Sets -DBUILD_TESTING to false by default if this is a third-party lib build
|
|
|
|
# This check must appear beforezR project()
|
|
|
|
disable_tests_if_subproject()
|
2024-05-16 23:14:41 +00:00
|
|
|
|
|
|
|
# vim: ts=4 sts=4 sw=4 noet foldmethod=indent :
|