Skip to content
Snippets Groups Projects
Unverified Commit af9fd8e4 authored by Tim Kaune's avatar Tim Kaune
Browse files

Fix minimum required CMake version in package config

parent bf86ab32
No related branches found
No related tags found
No related merge requests found
...@@ -23,12 +23,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ...@@ -23,12 +23,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. SOFTWARE.
]] ]]
cmake_minimum_required(VERSION 3.23) cmake_minimum_required(VERSION 3.25)
# If CMake >=3.24 is used, set policies up to v3.24 to NEW # If CMake >=3.24 is used, set policies up to v3.24 to NEW
if (NOT ${CMAKE_VERSION} VERSION_LESS 3.24) # if (NOT ${CMAKE_VERSION} VERSION_LESS 3.24)
cmake_policy(VERSION 3.24) # cmake_policy(VERSION 3.24)
endif() # endif()
# include(LoadStaticSharedTargets) should work after this # include(LoadStaticSharedTargets) should work after this
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}") list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment