Skip to content

Commit 44dd939

Browse files
Alexander Antonovrdementi
authored andcommitted
Disable build utests for Windows
1 parent cc776a8 commit 44dd939

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
184184
add_subdirectory(src)
185185
add_subdirectory(examples)
186186
add_subdirectory(tests)
187-
add_subdirectory(googletest)
187+
188+
if(UNIX)
189+
add_subdirectory(googletest)
190+
endif(UNIX)
188191

189192
message(STATUS "Install directory: ${CMAKE_INSTALL_PREFIX}")
190193

tests/CMakeLists.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ if(UNIX)
1717
target_link_libraries(urltest Threads::Threads PCM_STATIC)
1818
endif(LINUX)
1919

20+
add_subdirectory(utests)
2021
endif(UNIX)
2122

2223
if(PCM_FUZZ)
@@ -34,6 +35,4 @@ if(PCM_FUZZ)
3435
target_link_libraries(pcm-sensor-server-ssl-fuzz Threads::Threads PCM_STATIC ${SSL_LIBS})
3536
target_link_libraries(pcm-fuzz Threads::Threads PCM_STATIC)
3637
target_link_libraries(pcm-memory-fuzz Threads::Threads PCM_STATIC)
37-
endif()
38-
39-
add_subdirectory(utests)
38+
endif()

0 commit comments

Comments
 (0)