From efe2cbe4b60aa70d3cb4a722ac6ca314676a9364 Mon Sep 17 00:00:00 2001 From: andrey Date: Mon, 16 Nov 2020 13:27:24 +0300 Subject: [PATCH] FindPIP.cmake fix for SMSDK --- cmake/FindPIP.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/FindPIP.cmake b/cmake/FindPIP.cmake index 809998e5..fab2610e 100644 --- a/cmake/FindPIP.cmake +++ b/cmake/FindPIP.cmake @@ -21,6 +21,10 @@ cmake_policy(SET CMP0011 NEW) # don`t affect includer policies include(SHSTKMacros) shstk_set_find_dirs(pip) +if(PIP_DIR) + list(APPEND pip_LIBDIR "${PIP_DIR}/lib") + list(APPEND pip_INCDIR "${PIP_DIR}/include/pip") +endif() set(__libs "usb;crypt;console;fftw;compress;io_utils;opencl;cloud;lua")