-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disabling fairing algorithms for
psalm_cli
This is not the optimal treatment of this issue, but I am not sure how to handle this otherwise for now---I am thinking about removing the fairing algorithms completely...
- Loading branch information
1 parent
427a335
commit 241fb73
Showing
2 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
SET( FAIRING_ALGORITHMS_SRC | ||
FairingAlgorithm.cpp | ||
CurvatureFlow.cpp | ||
FairingAlgorithm.cpp | ||
) | ||
|
||
IF( EXISTS ${Boost_INCLUDE_DIRS}/boost/numeric/bindings/traits/ublas_sparse.hpp) | ||
LIST( APPEND FAIRING_ALGORITHMS_SRC | ||
CurvatureFlow.cpp | ||
) | ||
ENDIF() | ||
|
||
ADD_LIBRARY(FairingAlgorithms SHARED ${FAIRING_ALGORITHMS_SRC}) | ||
TARGET_LINK_LIBRARIES(FairingAlgorithms umfpack) | ||
|
||
# FIXME: This is not optimal | ||
IF( EXISTS ${Boost_INCLUDE_DIRS}/boost/numeric/bindings/traits/ublas_sparse.hpp) | ||
TARGET_LINK_LIBRARIES(FairingAlgorithms umfpack) | ||
ENDIF() | ||
|
||
# FIXME: Include path should be set by other means | ||
INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR} ../external /usr/include/suitesparse) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters