[ 
https://issues.apache.org/jira/browse/MINIFICPP-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Zink updated MINIFICPP-2175:
-----------------------------------
    Description: 
If we were to target CMake >= 3.24 we could remove a lot of patches and lengthy 
workarounds due to advancements in FetchContent (namely SOURCE_DIR (added in 
3.18) and FIND_PACKAGE_ARGS and OVERRIDE_FIND_PACKAGE (added in 3.24))

For this we would need to install 3.24 cmake on centos/rockylinux from CMake's 
binary release, and we should also move to alpine 3.17 as our docker base. All 
other distros in use provide newer cmake out of the box.

  was:
If we were to target CMake >= 3.24 we could remove a lot of patches and lengthy 
workarounds due to advancements in FetchContent (namely SOURCE_DIR (added in 
3.18 and FIND_PACKAGE_ARGS and OVERRIDE_FIND_PACKAGE (added in 3.24)

For this we would need to install 3.24 cmake on centos/rockylinux from CMake's 
binary release, and we should also move to alpine 3.17 as our docker base. All 
other distros in use provide newer cmake out of the box.


> Increase CMAKE requirements to 3.24
> -----------------------------------
>
>                 Key: MINIFICPP-2175
>                 URL: https://issues.apache.org/jira/browse/MINIFICPP-2175
>             Project: Apache NiFi MiNiFi C++
>          Issue Type: Improvement
>            Reporter: Martin Zink
>            Assignee: Martin Zink
>            Priority: Major
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> If we were to target CMake >= 3.24 we could remove a lot of patches and 
> lengthy workarounds due to advancements in FetchContent (namely SOURCE_DIR 
> (added in 3.18) and FIND_PACKAGE_ARGS and OVERRIDE_FIND_PACKAGE (added in 
> 3.24))
> For this we would need to install 3.24 cmake on centos/rockylinux from 
> CMake's binary release, and we should also move to alpine 3.17 as our docker 
> base. All other distros in use provide newer cmake out of the box.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to