Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_io
Commits
b3fee8bc
Commit
b3fee8bc
authored
Nov 28, 2018
by
incardon
Browse files
Fixing PETSC inclusion
parent
c0d0d448
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
b3fee8bc
...
...
@@ -26,9 +26,16 @@ target_include_directories (io PUBLIC ${HDF5_ROOT}/include)
target_include_directories
(
io PUBLIC
${
TINYOBJLOADER_INCLUDE_DIRS
}
)
target_include_directories
(
io PUBLIC
${
Boost_INCLUDE_DIRS
}
)
if
(
PETSC_FOUND
)
target_include_directories
(
io PUBLIC
${
PETSC_INCLUDES
}
)
endif
()
target_link_libraries
(
io
${
Boost_LIBRARIES
}
)
target_link_libraries
(
io -L
${
HDF5_ROOT
}
/lib hdf5 hdf5_hl
)
target_link_libraries
(
io -L
${
TINYOBJLOADER_LIBRARY_DIRS
}
-ltinyobjloader
)
if
(
PETSC_FOUND
)
target_link_libraries
(
io
${
PETSC_LIBRARIES
}
)
endif
()
# Request that particles be built with -std=c++11
# As this is a public compile feature anything that links to particles
...
...
Write
Preview
Markdown
is supported
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