From d693923de32e15fde98db8e07ffc9999683b6974 Mon Sep 17 00:00:00 2001
From: Debolskiy Andrey <and.debol@gmail.com>
Date: Tue, 23 Jun 2020 00:47:03 +0300
Subject: [PATCH] disable ctest and stuff

---
 CMakeLists.txt            | 2 +-
 ParLib.src/CMakeLists.txt | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 22d3d9e..cc82655 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -293,7 +293,7 @@ if(BUILD_FORT_LIBS)
 endif(BUILD_FORT_LIBS)
 
 
-include(Ctest)
+#include(Ctest)
 
 ##
 # Brute force, grab all of the dlls from the dependency directory,
diff --git a/ParLib.src/CMakeLists.txt b/ParLib.src/CMakeLists.txt
index 4288a7b..0ad6af4 100644
--- a/ParLib.src/CMakeLists.txt
+++ b/ParLib.src/CMakeLists.txt
@@ -7,7 +7,9 @@ target_sources(plutils
         plutils.h
         )
 include_directories(plutils
-        PUBLIC ${CMAKE_CURRENT_LIST_DIR})
+        PUBLIC
+        $<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/${INSTALL_INCLUDEDIR}>
+        $<INSTALL_INTERFACE:${INSTALL_INCLUDEDIR}>)
 #INCLUDE(plutils/CMakeLists.txt)
 if(BUILD_SHARED_LIBS)
     add_library(parlibc-shared SHARED "")
-- 
GitLab