Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
AGULLO Emmanuel
Chameleon
Commits
95ba3ce6
Commit
95ba3ce6
authored
Dec 22, 2016
by
SYLVAND Guillaume
Browse files
CMakeLists.txt: add missing link_directories for compilation outside spack
parent
7fb2463a
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
95ba3ce6
...
...
@@ -995,6 +995,21 @@ message("-- ${Blue}Add definition ADD_"
add_definitions
(
-DADD_
)
#------------------------------------------------------------------------------
if
(
CHAMELEON_SCHED_STARPU
)
link_directories
(
${
STARPU_LIBRARY_DIRS_DEP
}
)
elseif
(
CHAMELEON_SCHED_PARSEC
)
link_directories
(
${
PARSEC_LIBRARY_DIRS_DEP
}
)
elseif
(
CHAMELEON_SCHED_QUARK
)
link_directories
(
${
QUARK_LIBRARY_DIRS
}
)
endif
()
if
(
NOT CHAMELEON_SIMULATION
)
if
(
CHAMELEON_USE_CUDA
)
link_directories
(
${
CUDA_LIBRARY_DIRS
}
)
endif
()
if
(
CHAMELEON_USE_MAGMA
)
link_directories
(
${
MAGMA_LIBRARY_DIRS
}
)
endif
()
endif
()
# Save extra dependencies (all required links)
list
(
APPEND CHAMELEON_DEP
${
EXTRA_LIBRARIES
}
)
list
(
REMOVE_DUPLICATES CHAMELEON_DEP
)
# WARNING: is it safe, respect order?
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment