Skip to content

Commit baf9573

Browse files
committed
fix: Discovering of LSP unit tests
1 parent ad6ab15 commit baf9573

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,12 @@ if (CXX_ENABLE_FLATBUFFERS)
135135
set_target_properties(flatbuffers::header-only PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${flatbuffers_SOURCE_DIR}/include")
136136
endif()
137137

138+
139+
if (CXX_BUILD_TESTS)
140+
enable_testing()
141+
endif()
142+
143+
138144
if (NOT KWGEN_EXECUTABLE AND CMAKE_SYSTEM_NAME STREQUAL "WASI")
139145

140146
ExternalProject_Add(

0 commit comments

Comments
 (0)