Re: [cmake-developers] [CMake] CMake 2.8.12-rc2 Released

2013-09-17 Thread Rolf Eike Beer
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)

Re: [cmake-developers] [CMake] CMake 2.8.12-rc2 Released

2013-09-17 Thread clinton
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