mirror of
https://github.com/azahar-emu/mcl
synced 2025-11-07 07:30:05 +01:00
CMakeLists: Only add tests if MASTER_PROJECT
This commit is contained in:
parent
52e8dff62c
commit
0172df7431
@ -103,7 +103,7 @@ endif()
|
|||||||
# Project files
|
# Project files
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
if (TARGET Catch2::Catch2)
|
if (TARGET Catch2::Catch2 AND MASTER_PROJECT)
|
||||||
add_subdirectory(tests)
|
add_subdirectory(tests)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user