]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Bugfix: Use Trilinos third party header locations 665/head
authorMatthias Maier <tamiko@43-1.org>
Sun, 15 Mar 2015 00:35:49 +0000 (01:35 +0100)
committerMatthias Maier <tamiko@43-1.org>
Sun, 15 Mar 2015 00:35:49 +0000 (01:35 +0100)
Also append Trilinos_TPL_INCLUDE_DIRS to TRILINOS_INCLUDE_DIRS

cmake/modules/FindTRILINOS.cmake

index 88a82baee48cac4c4bd963158f2487f1d5b16b6a..3f75d423199a5f3593e373808d0ea02609a0753f 100644 (file)
@@ -1,6 +1,6 @@
 ## ---------------------------------------------------------------------
 ##
-## Copyright (C) 2012 - 2014 by the deal.II authors
+## Copyright (C) 2012 - 2015 by the deal.II authors
 ##
 ## This file is part of the deal.II library.
 ##
@@ -183,9 +183,9 @@ DEAL_II_PACKAGE_HANDLE(TRILINOS
     REQUIRED ${_libraries} Trilinos_TPL_LIBRARIES
     OPTIONAL MPI_CXX_LIBRARIES
   INCLUDE_DIRS
-    REQUIRED Trilinos_INCLUDE_DIRS
+    REQUIRED Trilinos_INCLUDE_DIRS Trilinos_TPL_INCLUDE_DIRS
   USER_INCLUDE_DIRS
-    REQUIRED Trilinos_INCLUDE_DIRS
+    REQUIRED Trilinos_INCLUDE_DIRS Trilinos_TPL_INCLUDE_DIRS
   CLEAR
     TRILINOS_CONFIG_DIR EPETRA_CONFIG_H SACADO_CMATH_HPP ${_libraries}
     TRILINOS_SUPPORTS_CPP11 TRILINOS_HAS_C99_TR1_WORKAROUND

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.