From 28bfad19605a212c72afe61a62a04f1707e5b078 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Wed, 23 Jun 2021 08:28:12 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FindPreproc.cmake | 4 ++-- FindPreprocmath.cmake | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FindPreproc.cmake b/FindPreproc.cmake index cffb441..67b159d 100644 --- a/FindPreproc.cmake +++ b/FindPreproc.cmake @@ -1,5 +1,5 @@ -if(NOT LIBPREPROC_PREFIX STREQUAL CMAKE_BINARY_DIR) - set(LIBPREPROC_PREFIX "" CACHE PATH "The path to the previx of an libpreproc installation") +if(NOT LIBPREPROC_IS_EXTERNAL_PROJECT) + set(LIBPREPROC_PREFIX "" CACHE PATH "The path to the prefix of an libpreproc installation") find_path( LIBPREPROC_INCLUDE_DIRS diff --git a/FindPreprocmath.cmake b/FindPreprocmath.cmake index 3150c96..70d46f0 100644 --- a/FindPreprocmath.cmake +++ b/FindPreprocmath.cmake @@ -1,5 +1,5 @@ -if(NOT LIBPREPROCMATH_PREFIX STREQUAL CMAKE_BINARY_DIR) - set(LIBPREPROCMATH_PREFIX "" CACHE PATH "The path to the previx of an libpreprocmath installation") +if(NOT LIBPREPROCMATH_IS_EXTERNAL_PROJECT) + set(LIBPREPROCMATH_PREFIX "" CACHE PATH "The path to the prefix of an libpreprocmath installation") find_path( LIBPREPROCMATH_INCLUDE_DIRS