From e015da8d954e04e24d29f641e4e5a4decab9b3cb Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 10 Jun 2019 20:42:21 +0200 Subject: [PATCH] Add a search path to allow find ngspice include dir on some msys2 installs --- CMakeModules/Findngspice.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeModules/Findngspice.cmake b/CMakeModules/Findngspice.cmake index 880ae1169e..640de43ecc 100644 --- a/CMakeModules/Findngspice.cmake +++ b/CMakeModules/Findngspice.cmake @@ -22,6 +22,7 @@ find_path( NGSPICE_INCLUDE_DIR ngspice/sharedspice.h PATHS ${NGSPICE_ROOT_DIR} $ENV{NGSPICE_ROOT_DIR} ${NGSPICE_INCLUDE_PATH} + ${NGSPICE_ROOT_DIR}/include PATH_SUFFIXES src/include share/ngspice/include share/ngspice/include/ngspice )