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)
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