hdf5 icon indicating copy to clipboard operation
hdf5 copied to clipboard

[BUG] Unknown CMake command "IDE_GENERATED_PROPERTIES"

Open liam-clink opened this issue 2 years ago • 4 comments

Describe the bug Cannot build library because cmake files are missing the IDE_GENERATED_PROPERTIES macro.

Expected behavior Successful build, as I'm trying to build a release version

Platform (please complete the following information)

  • HDF5 version hdf5-1_13_2
  • OS and version Windows 10
  • Compiler and version MSVC 19.32.31332.0
  • Build system and version (CMake 3.24.1 and NMake 14.32.31332.0)
  • Any configure options you specified None
  • MPI library and version (parallel HDF5) Not trying to link against MPI and error isn't related to this

liam-clink avatar Aug 27 '22 19:08 liam-clink

IDE_GENERATED_PROPERTIES macro is in the config/cmake_ext_mod/HDFMacros.cmake file.

byrnHDF avatar Aug 28 '22 22:08 byrnHDF

Without a log file showing the error and invocation, it is hard to diagnose anything further.

byrnHDF avatar Aug 28 '22 22:08 byrnHDF

What log file should I provide?

liam-clink avatar Sep 04 '22 05:09 liam-clink

First, how are you building, from a command line?

byrnHDF avatar Sep 06 '22 14:09 byrnHDF

The IDE_GENERATED_PROPERTIES macro exists in config/cmake and that folder is added to the cmake module include path in the root CMakeLists.cmake. This problem cannot be reproduced.

byrnHDF avatar May 04 '23 15:05 byrnHDF