From 3a5af7fb61e49123d824fcf42caaa471c8b09797 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 17 Mar 2010 10:09:38 +0100 Subject: Build examples only on the Linux plattform. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 498f36ef..238c6b8d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- cgit v1.2.3