Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LAMBERT Jean-charles
unsio
Commits
9900bdd7
Commit
9900bdd7
authored
Nov 17, 2016
by
LAMBERT Jean-charles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ubuntu/osx fixes
parent
914e0f7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
CMakeLists.txt
CMakeLists.txt
+2
-7
No files found.
CMakeLists.txt
View file @
9900bdd7
...
...
@@ -92,20 +92,15 @@ ELSE (NOT NEMO_INSTALLED)
SET
(
DEP_NEMO_LIB
"
${
NEMOLIB
}
/libnemo.a"
)
ENDIF
(
NOT NEMO_INSTALLED
)
target_link_libraries
(
unsio
${
DEP_NEMO_LIB
}
)
target_link_libraries
(
unsio
${
DEP_NEMO_LIB
}
${
HDF5_CXX_LIBRARIES
}
sqlite3
)
# Manage HDF5 linking against libunsio
if
(
OSX
)
# add " " after .dylib
string
(
REPLACE
".dylib"
".dylib "
HDF5_CXX_LIBRARIES_LIST
${
HDF5_CXX_LIBRARIES
}
)
message
(
STATUS
"HDF5_CXX_LIBRARIES_LIST = "
${
HDF5_CXX_LIBRARIES_LIST
}
)
set_target_properties
(
unsio PROPERTIES LINK_FLAGS
"-undefined suppress -flat_namespace
${
HDF5_CXX_LIBRARIES_LIST
}
-L
${
NEMOLIB
}
-lnemo -lsqlite3"
)
#
set_target_properties(unsio PROPERTIES LINK_FLAGS "-undefined suppress -flat_namespace ${HDF5_CXX_LIBRARIES_LIST} -L${NEMOLIB} -lnemo -lsqlite3")
else
(
OSX
)
# link unsio against hdf5 and sqlit3
# add " " after .so
string
(
REPLACE
".so"
".so "
HDF5_CXX_LIBRARIES_LIST
${
HDF5_CXX_LIBRARIES
}
)
message
(
STATUS
"HDF5_CXX_LIBRARIES_LIST = "
${
HDF5_CXX_LIBRARIES_LIST
}
)
set_target_properties
(
unsio PROPERTIES LINK_FLAGS
"
${
HDF5_CXX_LIBRARIES_LIST
}
-lsqlite3"
)
endif
(
OSX
)
# ----------------------------------------------------------
...
...
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