Add GLSLANG_TESTS option
1 variable instead of ENABLE_CTEST and BUILD_TESTING. OFF by default. See README.md for explanation.
This commit is contained in:
parent
e854c8de10
commit
3b99124593
5 changed files with 22 additions and 23 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2020 The Khronos Group Inc.
|
||||
# Copyright (C) 2020-2023 The Khronos Group Inc.
|
||||
#
|
||||
# All rights reserved.
|
||||
#
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
if(BUILD_TESTING)
|
||||
if(GLSLANG_TESTS)
|
||||
if(TARGET gmock)
|
||||
message(STATUS "Google Mock found - building tests")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue