Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
OpenFlipper-Free
Commits
114f4d9e
Commit
114f4d9e
authored
Sep 19, 2016
by
Hans-Christian Ebke
Browse files
Find TAO via `find_library`.
This gives us the full path which is important for recursive dependencies.
parent
c43a2f5b
Pipeline
#2834
passed with stage
in 52 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cmake/FindTAO.cmake
View file @
114f4d9e
...
...
@@ -53,7 +53,7 @@ find_path(TAO_INCLUDE_DIR NAMES "include/tao.h"
ELSE
(
IS_DIRECTORY
"$ENV{TAO_DIR}/lib/$ENV{PETSC_ARCH}/"
)
#VERSION 2
# MESSAGE(STATUS "TAO Version 2.x")
SET
(
TAO_LIBRARY_DIR
"$ENV{TAO_DIR}/$ENV{PETSC_ARCH}/lib"
CACHE PATH
"Path to TAO Library"
)
SET
(
TAO_LIBRARY
"tao"
CACHE STRING
"TAO Libraries"
)
find_library
(
TAO_LIBRARY
"tao"
PATHS
"
${
TAO_LIBRARY_DIR
}
"
)
ENDIF
(
IS_DIRECTORY
"$ENV{TAO_DIR}/lib/$ENV{PETSC_ARCH}/"
)
# MESSAGE(STATUS "${TAO_LIBRARY_DIR}")
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment