]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Do not compile examples on Windows targets 3986/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 14 Mar 2017 16:12:31 +0000 (11:12 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 14 Mar 2017 16:12:49 +0000 (11:12 -0500)
cmake/checks/check_02_system_features.cmake

index 655e5eb5614b7440d06c2257c3ef3d5c0c61b03b..be9aec24c289dab1f89db3575c3a433bf2563eef 100644 (file)
@@ -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()

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.