Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
test_FEMBEM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
solverstack
test_FEMBEM
Commits
560b8841
Commit
560b8841
authored
2 months ago
by
SYLVAND Guillaume
Browse files
Options
Downloads
Patches
Plain Diff
Cmake: detect composyx before all others libs
parent
967ccf22
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+19
-16
19 additions, 16 deletions
CMakeLists.txt
with
19 additions
and
16 deletions
CMakeLists.txt
+
19
−
16
View file @
560b8841
...
@@ -92,6 +92,23 @@ if(MKL_FOUND)
...
@@ -92,6 +92,23 @@ if(MKL_FOUND)
set
(
CBLAS_INCLUDE_DIR
${
MKL_INCLUDE_DIRS
}
)
set
(
CBLAS_INCLUDE_DIR
${
MKL_INCLUDE_DIRS
}
)
endif
()
endif
()
# ========================
# COMPOSYX
# ========================
# compile your example
if
(
NOT TARGET COMPOSYX::composyx
)
find_package
(
composyx
)
if
(
composyx_FOUND
)
message
(
STATUS
"Found composyx"
)
set
(
HAVE_COMPOSYX TRUE
)
set
(
CMAKE_CXX_STANDARD 20
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
endif
()
else
()
set
(
HAVE_COMPOSYX TRUE
)
message
(
STATUS
"Found composyx"
)
endif
()
# ========================
# ========================
# CHAMELEON
# CHAMELEON
# (Look for it before hmat so it defines h-mat first if included)
# (Look for it before hmat so it defines h-mat first if included)
...
@@ -100,9 +117,11 @@ if ( NOT TARGET CHAMELEON::chameleon )
...
@@ -100,9 +117,11 @@ if ( NOT TARGET CHAMELEON::chameleon )
find_package
(
CHAMELEON
)
find_package
(
CHAMELEON
)
if
(
CHAMELEON_FOUND
)
if
(
CHAMELEON_FOUND
)
set
(
HAVE_CHAMELEON TRUE
)
set
(
HAVE_CHAMELEON TRUE
)
message
(
STATUS
"Found Chameleon"
)
endif
()
endif
()
else
()
else
()
set
(
HAVE_CHAMELEON TRUE
)
set
(
HAVE_CHAMELEON TRUE
)
message
(
STATUS
"Found Chameleon"
)
endif
()
endif
()
# ========================
# ========================
...
@@ -133,22 +152,6 @@ if(HLIBPRO_FOUND)
...
@@ -133,22 +152,6 @@ if(HLIBPRO_FOUND)
include_directories
(
${
HLIBPRO_INCLUDE_DIRS
}
)
include_directories
(
${
HLIBPRO_INCLUDE_DIRS
}
)
endif
(
HLIBPRO_FOUND
)
endif
(
HLIBPRO_FOUND
)
# ========================
# COMPOSYX
# ========================
# compile your example
if
(
NOT TARGET COMPOSYX::composyx
)
find_package
(
composyx
)
if
(
composyx_FOUND
)
message
(
STATUS
"Found composyx"
)
set
(
HAVE_COMPOSYX TRUE
)
set
(
CMAKE_CXX_STANDARD 20
)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
endif
()
else
()
set
(
HAVE_COMPOSYX TRUE
)
endif
()
# ========================
# ========================
# Lib M
# Lib M
# ========================
# ========================
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment