Cmake Error When Compiling

I’m trying to install HDF5 1.8.19 using Cmake (version 3.10.2). I’ve never used Cmake before and keep getting the following error:

CMake Error at CMakeLists.txt:186 (TARGET_C_PROPERTIES):
Unknown CMake command “TARGET_C_PROPERTIES”

Any help would be appreciated.

Thanks,
Kathleen

Could you supply your command invocation and a bit of the actual error output?

Allen

Hi @byrn,

I’m having the same problem. I’m using CMake 3.24.0-rc4

I’m using the CMake GUI with Visual Studio 17 (2022) used as target generator. Every time I try to Configure the project the error that @Kathleen described above shows up.

Any help would be appreciated.

Thanks,

Ric