Skip to content

Conversation

heitbaum
Copy link

fixes deprecated cmake option and uses cmake 2.8.0 TARGET_FILE update cmake supported minimum versions to 2.8.0...3.10

ref:

CMake Error at .../CMakeLists.txt: (GET_TARGET_PROPERTY):
The LOCATION property may not be read from target "json_...". Use the
target name directly with add_custom_command, or use the generator
expression $<TARGET_FILE>, as appropriate.

fixes #254

fixes deprecated cmake option and uses cmake 2.8.0 TARGET_FILE
update cmake supported minimum versions to 2.8.0...3.10

ref:
- https://cmake.org/cmake/help/latest/policy/CMP0026.html

CMake Error at .../CMakeLists.txt: (GET_TARGET_PROPERTY):
  The LOCATION property may not be read from target "json_...".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Signed-off-by: Rudi Heitbaum <[email protected]>
@jrmarino
Copy link

jrmarino commented Apr 8, 2025

Thank you! These patches worked great on Ravenports.

jcdubois added a commit to jcdubois/buildroot that referenced this pull request Sep 26, 2025
yagl would not build with a recent cmake (>= 4.0.2)

The bug is reported to the yajl project with a provided patch
lloyd/yajl#256

So this patch just adds the provided patch to yajl in buildroot with a
small rework to adapt to the buildroot patched version

Signed-off-by: Jean-Christophe Dubois <[email protected]>
jcdubois added a commit to jcdubois/buildroot that referenced this pull request Sep 27, 2025
yagl would not build with a recent cmake (>= 4.0.2)

The bug is reported to the yajl project with a provided patch
lloyd/yajl#256

So this patch just adds the provided patch to yajl in buildroot with a
small rework to adapt to the buildroot patched version

Signed-off-by: Jean-Christophe Dubois <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update cmake version
2 participants