CMake Error at /usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindHDF5.cmake:201 (try_compile):
Unknown extension ".c" for file
/Users/jan/projects/programming/nix/build/CMakeFiles/hdf5/cmake_hdf5_test.c
try_compile() works only for enabled languages. Currently these are:
CXX
See project() command to enable other languages.
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindHDF5.cmake:447 (_HDF5_test_regular_compiler_C)
CMakeLists.txt:47 (find_package)