mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 18:04:25 +09:00
Build examples only on the Linux plattform.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user