mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
only build unit tests of common if project is toplevel project
This commit is contained in:
parent
5f9009da13
commit
f9a331a935
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ pkg_check_modules(JANSSON IMPORTED_TARGET REQUIRED jansson>=2.7)
|
|||
pkg_check_modules(LIBCONFIG IMPORTED_TARGET libconfig>=1.4.9)
|
||||
|
||||
add_subdirectory(lib)
|
||||
if(CRITERION_FOUND)
|
||||
if(CRITERION_FOUND AND TOPLEVEL_PROJECT)
|
||||
add_subdirectory(tests)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue