From 9a9332a4f8644ca0fbcfd66e3debe4e83080b9ed Mon Sep 17 00:00:00 2001 From: akva Date: Wed, 26 Mar 2014 09:03:44 +0000 Subject: [PATCH] fixed: set LRSpline config stuff in build flags needed when not using the submodule mode git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2790 e10b68d5-8a6e-419e-a041-bce267b0401d --- cmake/Modules/FindIFEMDeps.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/Modules/FindIFEMDeps.cmake b/cmake/Modules/FindIFEMDeps.cmake index c459819d..95e7b5f1 100644 --- a/cmake/Modules/FindIFEMDeps.cmake +++ b/cmake/Modules/FindIFEMDeps.cmake @@ -122,6 +122,7 @@ IF(IFEM_USE_LRSPLINES) SET(IFEM_DEPLIBS ${IFEM_DEPLIBS} ${LRSpline_LIBRARIES}) SET(IFEM_DEPINCLUDES ${IFEM_DEPINCLUDES} ${LRSpline_INCLUDE_DIRS}) SET(IFEM_BUILD_CXX_FLAGS "${IFEM_BUILD_CXX_FLAGS} -DHAS_LRSPLINE=1 ${LRSpline_DEFINITIONS}") + SET(IFEM_CXX_FLAGS "${IFEM_CXX_FLAGS} -DHAS_LRSPLINE=1 ${LRSpline_DEFINITIONS}") ENDIF(LRSPLINE_VERSION_MINOR LESS 4) ENDIF(LRSpline_LIBRARIES AND LRSpline_INCLUDE_DIRS) ENDIF(IFEM_USE_LRSPLINES)