From b6887a8a82162278983a8489e365e61a0372b1b8 Mon Sep 17 00:00:00 2001 From: Benny Siegert Date: Wed, 4 Nov 2020 20:31:17 +0100 Subject: [PATCH] Do not search for coordgen template files. The coordgen upstream does not install the template file. It is also not required at runtime, since its contents are compiled into the coordgen library itself. Fixes #2214 --- cmake/modules/Findcoordgen.cmake | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/cmake/modules/Findcoordgen.cmake b/cmake/modules/Findcoordgen.cmake index ded0a4de7..9bc5c9557 100644 --- a/cmake/modules/Findcoordgen.cmake +++ b/cmake/modules/Findcoordgen.cmake @@ -6,7 +6,6 @@ # # coordgen_INCLUDE_DIRS - CoordGen's includes directory # coordgen_LIBRARIES - CoordGen's shared libraries -# coordgen_TEMPLATE_FILE - CoordGen templates file # # @@ -28,19 +27,9 @@ find_library(coordgen_LIBRARIES ) message(STATUS "coordgen libraries set as '${coordgen_LIBRARIES}'") -# Just in case, add parent directory above libraries to templates search hints -get_filename_component(libs_parent_dir ${coordgen_LIBRARIES} PATH) -find_file(coordgen_TEMPLATE_FILE - NAMES templates.mae - HINTS ${coordgen_DIR} ${libs_parent_dir} - PATH_SUFFIXES "share" "share/coordgen" - DOC "templates file for coordgen" -) -message(STATUS "coordgen templates file set as '${coordgen_TEMPLATE_FILE}'") - find_package_handle_standard_args(coordgen FOUND_VAR coordgen_FOUND REQUIRED_VARS coordgen_INCLUDE_DIRS - coordgen_LIBRARIES coordgen_TEMPLATE_FILE) + coordgen_LIBRARIES)