Skip some tests when BUILD_IDLC=OFF
These tests use `idlc_generate`, which is not available when `BUILD_IDLC` is not `ON`. Signed-off-by: Scott K Logan <logans@cottsay.net>
This commit is contained in:
parent
98ce7d1971
commit
94e4c0915d
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ install(
|
||||||
COMPONENT dev)
|
COMPONENT dev)
|
||||||
|
|
||||||
# TODO: improve test inclusion.
|
# TODO: improve test inclusion.
|
||||||
if((BUILD_TESTING) AND ((NOT DEFINED MSVC_VERSION) OR (MSVC_VERSION GREATER "1800")))
|
if((BUILD_TESTING) AND (BUILD_IDLC) AND ((NOT DEFINED MSVC_VERSION) OR (MSVC_VERSION GREATER "1800")))
|
||||||
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/tests")
|
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/tests")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue