mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
make building tests optional:
* disable build specific commandline options when built without tests
This commit is contained in:
committed by
manojsdoshi
parent
90aa3c75a7
commit
da26d11593
@@ -6,6 +6,8 @@ option (assert "Enables asserts, even in release builds" OFF)
|
||||
|
||||
option (reporting "Build rippled with reporting mode enabled" OFF)
|
||||
|
||||
option (tests "Build tests" ON)
|
||||
|
||||
option (unity "Creates a build using UNITY support in cmake. This is the default" ON)
|
||||
if (unity)
|
||||
if (CMAKE_VERSION VERSION_LESS 3.16)
|
||||
|
||||
Reference in New Issue
Block a user