Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jussi Kukkonen
CMake
Commits
1109be2d
Commit
1109be2d
authored
May 03, 2016
by
Brad King
Committed by
Kitware Robot
May 03, 2016
Browse files
Merge topic 'FindHDF5-debug-suffix'
313676c9
FindHDF5: Add another debug suffix
parents
4d59471a
313676c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/FindHDF5.cmake
View file @
1109be2d
...
...
@@ -310,10 +310,10 @@ if( NOT HDF5_FOUND )
# See https://cmake.org/Bug/view.php?id=1643. We search
# first for the full static library name, but fall back to a
# generic search on the name if the static search fails.
set
(
THIS_LIBRARY_SEARCH_DEBUG lib
${
LIB
}
d.a
${
LIB
}
d
)
set
(
THIS_LIBRARY_SEARCH_DEBUG lib
${
LIB
}
d.a
lib
${
LIB
}
_debug.a
${
LIB
}
d
${
LIB
}
_debug
)
set
(
THIS_LIBRARY_SEARCH_RELEASE lib
${
LIB
}
.a
${
LIB
}
)
else
()
set
(
THIS_LIBRARY_SEARCH_DEBUG
${
LIB
}
d
)
set
(
THIS_LIBRARY_SEARCH_DEBUG
${
LIB
}
d
${
LIB
}
_debug
)
set
(
THIS_LIBRARY_SEARCH_RELEASE
${
LIB
}
)
endif
()
find_library
(
HDF5_
${
LIB
}
_LIBRARY_DEBUG
...
...
Write
Preview
Supports
Markdown
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