From 7fdd5e723535d3b8e8e17acb5167a7133bd6ca85 Mon Sep 17 00:00:00 2001 From: Greg Eisenhauer Date: Thu, 9 Jan 2025 22:42:02 -0500 Subject: [PATCH] EVPath 2024-12-07 (5663b5a6) (#4428) --- thirdparty/EVPath/EVPath/CMakeLists.txt | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/thirdparty/EVPath/EVPath/CMakeLists.txt b/thirdparty/EVPath/EVPath/CMakeLists.txt index 2950bde12b..4de146303f 100644 --- a/thirdparty/EVPath/EVPath/CMakeLists.txt +++ b/thirdparty/EVPath/EVPath/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.14) # The directory label is used for CDash to treat EVPath as a subproject of # GTKorvo @@ -6,24 +6,6 @@ set(CMAKE_DIRECTORY_LABELS EVPath) project(EVPath VERSION 4.5.4 LANGUAGES C CXX) -# Enable _ROOT variables for dependency searching -# CMake v3.12 -if(POLICY CMP0074) - cmake_policy(SET CMP0074 NEW) -endif() - -# Enable imported targets as library dependencies for CHECK_INCLUDE_FILE -if(POLICY CMP0075) - cmake_policy(SET CMP0075 NEW) -endif() - -# Let option(...) setings work with non-cache variables. Useful for including -# EVPath as a third party dependency in another project. -# CMake v3.13 -if(POLICY CMP0077) - cmake_policy(SET CMP0077 NEW) -endif() - # Some boilerplate to setup nice output directories include(GNUInstallDirs) set(CMAKE_INSTALL_CMAKEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/EVPath @@ -589,8 +571,6 @@ find_package(Perl) if (PERL_FOUND) add_custom_command( OUTPUT "cm_interface.c" "revp.c" "revpath.h" "revp_internal.h" - SOURCE - ${CMAKE_CURRENT_SOURCE_DIR}/evpath.h ${CMAKE_CURRENT_SOURCE_DIR}/ev_dfg.h COMMAND ${PERL_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/gen_interface.pl ${CMAKE_CURRENT_SOURCE_DIR}/evpath.h