From bae42f246c764435a613ba2cd74b0ac62e17f220 Mon Sep 17 00:00:00 2001 From: Christophe Favergeon Date: Mon, 14 Oct 2019 11:37:59 +0100 Subject: [PATCH] CMSIS-NN: Fixes to cmake build to build library without test framework. --- config.cmake | 4 ---- configLib.cmake | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.cmake b/config.cmake index 693bf906..47c7b8aa 100755 --- a/config.cmake +++ b/config.cmake @@ -1,9 +1,5 @@ include(CMakePrintHelpers) -if(EXPERIMENTAL) -list(APPEND CMAKE_MODULE_PATH ${EXPROOT}) -include(experimental) -endif() include(configLib) diff --git a/configLib.cmake b/configLib.cmake index 1b7abc09..05417795 100755 --- a/configLib.cmake +++ b/configLib.cmake @@ -1,6 +1,10 @@ # This is for building a library only # It is similar to the config.cmake but ignoring anything related to the platform # and boot code +if(EXPERIMENTAL) +list(APPEND CMAKE_MODULE_PATH ${EXPROOT}) +include(experimental) +endif() include(Toolchain/Tools)