mirror of
https://github.com/azahar-emu/mcl
synced 2025-11-06 23:20:08 +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
|
||||
|
||||
add_subdirectory(src)
|
||||
if (TARGET Catch2::Catch2)
|
||||
if (TARGET Catch2::Catch2 AND MASTER_PROJECT)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user