mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 00:49:08 +00:00
chore(build): only build tests when standalone
This commit is contained in:
parent
5cdbd74e01
commit
5157c414f5
1 changed files with 5 additions and 1 deletions
|
|
@ -97,4 +97,8 @@ if(WHOA_TEST_STORMDLL)
|
||||||
else()
|
else()
|
||||||
add_subdirectory(storm)
|
add_subdirectory(storm)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Only build tests when standalone
|
||||||
|
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue