From: Matthias Maier Date: Tue, 14 Mar 2017 16:12:31 +0000 (-0500) Subject: CMake: Do not compile examples on Windows targets X-Git-Tag: v8.5.0-rc1~41^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a4b9cbee64834e02a216b6e66b3e1bd05041adf;p=dealii.git CMake: Do not compile examples on Windows targets --- diff --git a/cmake/checks/check_02_system_features.cmake b/cmake/checks/check_02_system_features.cmake index 655e5eb561..be9aec24c2 100644 --- a/cmake/checks/check_02_system_features.cmake +++ b/cmake/checks/check_02_system_features.cmake @@ -141,6 +141,9 @@ IF(CMAKE_SYSTEM_NAME MATCHES "Windows") "BUILD_SHARED_LIBS forced to OFF\n\n" ) SET(BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE) + + # And disable compilation of examples: + SET(DEAL_II_COMPILE_EXAMPLES OFF CACHE BOOL "" FORCE) ENDIF() ENDIF()