[CMake] CMake 2.8.12-rc2 Released
Rolf Eike Beer
eike at sf-mail.de
Tue Sep 17 02:06:27 EDT 2013
Am Montag, 16. September 2013, 21:58:08 schrieb clinton at elemtech.com:
> Same here... and this looks like a regression:
>
> A simple CMakeLists.txt like this can reproduce it.
>
> set(CMAKE_BUILD_TYPE Debug)
> find_package(HDF5 COMPONENTS C HL REQUIRED)
> add_executable(foo foo.cpp)
> target_link_libraries(foo ${HDF5_LIBRARIES})
>
> FindHDF5.cmake misuses CMAKE_BUILD_TYPE and CMAKE_CONFIGURATION_TYPES when
> assembling the HDF5_LIBRARIES variable. If I clear out the
> CMAKE_BUILD_TYPE variable, then the problem goes away.
No, it does not. It does was select_library_configurations also does. And
FindHDF5.cmake has not changed since 2.8.11, so it must be something different.
That doesn't mean it is not related to CMAKE_BUILD_TYPE, it's just that is is
not the lib selection itself in FindHDF5.cmake.
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130917/9347c11a/attachment.pgp>
More information about the CMake
mailing list