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:
@@ -73,9 +73,9 @@ install(
|
||||
pkgconfig
|
||||
)
|
||||
|
||||
if (UNIX AND NOT WIN32)
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
add_subdirectory(examples)
|
||||
endif (UNIX AND NOT WIN32)
|
||||
endif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
|
||||
if (WITH_TESTING)
|
||||
find_package(Check REQUIRED)
|
||||
|
Reference in New Issue
Block a user