-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I was trying to build h5cpp (inside another cmake project that I'm working on) with conan and encountered the following error message:
ERROR: Error while parsing [options] in conanfile.txt
Options should be specified as 'pkg/*:option=value'
CMake Error at build/_deps/h5cpp-src/cmake/conan.cmake:567 (message):
Conan install failed='1'
Call Stack (most recent call first):
build/_deps/h5cpp-src/cmake/conan.cmake:918 (old_conan_cmake_install)
build/_deps/h5cpp-src/CMakeLists.txt:35 (conan_cmake_run)
I was able to fix this by replacing the lines like hdf5:enable_cxx=False
with hdf5*:enable_cxx=False
. Not sure why I needed to do that. Maybe a newer conan version?
This section in the conan docs explains the syntax.
Metadata
Metadata
Assignees
Labels
No labels