Skip to content
Snippets Groups Projects
Commit ed50d9a5 authored by Lars Bilke's avatar Lars Bilke
Browse files

[CMake] Fixed a compile warning.

parent 7105903c
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,9 @@ APPEND_SOURCE_FILES(SOURCES InterpolationAlgorithms) ...@@ -6,7 +6,9 @@ APPEND_SOURCE_FILES(SOURCES InterpolationAlgorithms)
APPEND_SOURCE_FILES(SOURCES Integration) APPEND_SOURCE_FILES(SOURCES Integration)
APPEND_SOURCE_FILES(SOURCES LinAlg) APPEND_SOURCE_FILES(SOURCES LinAlg)
APPEND_SOURCE_FILES(SOURCES LinAlg/Dense) APPEND_SOURCE_FILES(SOURCES LinAlg/Dense)
APPEND_SOURCE_FILES(SOURCES ODE) if(CVODE_FOUND)
APPEND_SOURCE_FILES(SOURCES ODE)
endif()
APPEND_SOURCE_FILES(SOURCES Nonlinear) APPEND_SOURCE_FILES(SOURCES Nonlinear)
if(OGS_USE_EIGEN) if(OGS_USE_EIGEN)
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
* http://www.opengeosys.org/project/license * http://www.opengeosys.org/project/license
* *
*/ */
#ifdef CVODE_FOUND
#include "CVodeSolver.h" #include "CVodeSolver.h"
#include <cassert> #include <cassert>
...@@ -362,5 +359,3 @@ CVodeSolver::~CVodeSolver() = default; ...@@ -362,5 +359,3 @@ CVodeSolver::~CVodeSolver() = default;
} // namespace ODE } // namespace ODE
} // namespace MathLib } // namespace MathLib
#endif // CVODE_FOUND
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment