1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-10 06:23:01 +03:00

Build examples only on the Linux plattform.

This commit is contained in:
Andreas Schneider
2010-03-17 10:09:38 +01:00
parent 34f2d50e29
commit 3a5af7fb61

View File

@@ -73,9 +73,9 @@ install(
pkgconfig pkgconfig
) )
if (UNIX AND NOT WIN32) if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
add_subdirectory(examples) add_subdirectory(examples)
endif (UNIX AND NOT WIN32) endif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
if (WITH_TESTING) if (WITH_TESTING)
find_package(Check REQUIRED) find_package(Check REQUIRED)