Am Montag, 16. September 2013, 21:58:08 schrieb clin...@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

Attachment: signature.asc
Description: This is a digitally signed message part.

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to