Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unsio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LAMBERT Jean-charles
unsio
Commits
6daefe00
Commit
6daefe00
authored
Feb 28, 2017
by
LAMBERT Jean-charles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use HDF5 static
parent
6969997e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
CMakeLists.txt
CMakeLists.txt
+5
-3
No files found.
CMakeLists.txt
View file @
6daefe00
...
...
@@ -45,10 +45,12 @@ MESSAGE( STATUS "BUILD_TYPE =" ${RELEASE} )
FIND_PACKAGE
(
NEMO
)
FIND_PACKAGE
(
SQLITE3
)
#set (HDF5_USE_STATIC_LIBRARIES TRUE)
FIND_PACKAGE
(
HDF5 COMPONENTS CXX REQUIRED
)
MESSAGE
(
STATUS
"1) HDF5_CXX_LIBRARIES="
${
HDF5_CXX_LIBRARIES
}
)
#SET(HDF5_CXX_LIBRARIES hdf5_hl_cpp hdf5_cpp
)
MESSAGE
(
STATUS
"HDF5_CXX_LIBRARIES="
${
HDF5_CXX_LIBRARIES
}
)
SET
(
HDF5_CXX_LIBRARIES hdf5_hl_cpp.a hdf5_cpp.a hdf5.a
)
# use this trick to compile against hdf5 static libs, to keep compatibility between hdf5 libs
)
MESSAGE
(
STATUS
"
2)
HDF5_CXX_LIBRARIES="
${
HDF5_CXX_LIBRARIES
}
)
#set (NEMO_INSTALLED FALSE) # fore NEMO not installed
IF
(
NOT NEMO_INSTALLED
)
...
...
@@ -92,7 +94,7 @@ ELSE (NOT NEMO_INSTALLED)
SET
(
DEP_NEMO_LIB
"
${
NEMOLIB
}
/libnemo.a"
)
ENDIF
(
NOT NEMO_INSTALLED
)
target_link_libraries
(
unsio
${
DEP_NEMO_LIB
}
${
HDF5_CXX_LIBRARIES
}
sqlite3
)
target_link_libraries
(
unsio
${
DEP_NEMO_LIB
}
${
HDF5_CXX_LIBRARIES
}
sqlite3
z
)
# ----------------------------------------------------------
# Install SETUP
...
...
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