Skip to content

Commit

Permalink
EVPath 2024-12-07 (5663b5a6) (#4428)
Browse files Browse the repository at this point in the history
  • Loading branch information
eisenhauer authored Jan 10, 2025
1 parent 23af3c7 commit 7fdd5e7
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions thirdparty/EVPath/EVPath/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,11 @@
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
set(CMAKE_DIRECTORY_LABELS EVPath)

project(EVPath VERSION 4.5.4 LANGUAGES C CXX)

# Enable <PackageName>_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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7fdd5e7

Please sign in to comment.