From e0a2c5261071a59670148300f7ebd25fd2eaeacf Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Wed, 25 Nov 2015 16:10:27 +0100 Subject: [PATCH] cmake: Include module per default if someone uses eolian its likly that he wants to install some rules --- cmakeconfig/EolianConfig.cmake.in | 2 ++ cmakeconfig/EolianHelper.cmake | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmakeconfig/EolianConfig.cmake.in b/cmakeconfig/EolianConfig.cmake.in index 4034dbe973..919881f724 100644 --- a/cmakeconfig/EolianConfig.cmake.in +++ b/cmakeconfig/EolianConfig.cmake.in @@ -39,3 +39,5 @@ if(_pkgconfig_failed) else() set (EOLIAN_EO_DIR ${_pkgconfig_invoke_result}) endif() + +include(${CMAKE_CURRENT_LIST_DIR}/EolianHelper.cmake) diff --git a/cmakeconfig/EolianHelper.cmake b/cmakeconfig/EolianHelper.cmake index 9b0397327e..56eca6ffc8 100644 --- a/cmakeconfig/EolianHelper.cmake +++ b/cmakeconfig/EolianHelper.cmake @@ -1,4 +1,3 @@ -find_package(Eolian 1.16 REQUIRED) # macro to create a eolian generated c source file # # macro adds a generate rule, which depends on the original file the rule will output file.x