-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Build fails with cmake 4 as follows:
CMake Error at CMakeLists.txt:24 (CMAKE_POLICY):
Policy CMP0026 may not be set to OLD behavior because this version of CMake
no longer supports it. The policy was introduced in CMake version 3.0.0,
and use of NEW behavior is now required.
Please either update your CMakeLists.txt files to conform to the new
behavior or use an older version of CMake that still supports the old
behavior. Run cmake --help-policy CMP0026 for more information.
If this is set to NEW instead, then the following error occurs if building the tests:
>
> CMake Error at Testing/CMakeLists.txt:11 (GET_PROPERTY):
> The LOCATION property may not be read from target "mincmorph". Use the
> target name directly with add_custom_command, or use the generator
> expression $<TARGET_FILE>, as appropriate.
>
>
>
> CMake Error at Testing/CMakeLists.txt:12 (GET_PROPERTY):
> The LOCATION property may not be read from target "minccmp". Use the
> target name directly with add_custom_command, or use the generator
> expression $<TARGET_FILE>, as appropriate.
>
>
>
> CMake Error at Testing/CMakeLists.txt:13 (GET_PROPERTY):
> The LOCATION property may not be read from target "minclookup". Use the
> target name directly with add_custom_command, or use the generator
> expression $<TARGET_FILE>, as appropriate.
>
>
>
Metadata
Metadata
Assignees
Labels
No labels