diff --git a/CMakeLists.txt b/CMakeLists.txt index cf3d4d0..d8ece51 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,8 @@ if( (NOT GISMO_BUILD_LIB) ) endif() endif() +add_custom_target(${PROJECT_NAME}) + # add filedata folder add_definitions(-DSTRAN_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/filedata/") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e19b014..4867234 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -50,6 +50,8 @@ FOREACH(subdir ${SUBDIRS}) add_dependencies(${GM_NAME} mpfr) endif() + add_dependencies(${GM_NAME} ${PROJECT_NAME}) + ## Add extra instances (template instantiations) # NOTE: The static/non templated part of the library is # compiled above only for GISMO_COEFF_TYPE diff --git a/src/gsEigenSolvers/gsBucklingSolver.h b/src/gsEigenSolvers/gsBucklingSolver.h index c1a2082..99d7e89 100644 --- a/src/gsEigenSolvers/gsBucklingSolver.h +++ b/src/gsEigenSolvers/gsBucklingSolver.h @@ -57,7 +57,7 @@ class gsBucklingSolver : public gsEigenProblemBase m_scaling(scaling) { m_A = linear; - m_dnonlinear = [this](gsVector const & x, gsVector const & dx, gsSparseMatrix & m) -> bool + m_dnonlinear = [this](gsVector const & x, gsVector const & /*dx*/, gsSparseMatrix & m) -> bool { return m_nonlinear(x,m); };