diff --git a/CMakeLists.txt b/CMakeLists.txt index 22d3d9e6b151a65543ec5a3264259713374f00e9..cc8265511f91e5f0542850c8f0127907a1d190b7 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 4288a7b3f402c181d1252bb6c9d3dc8bcfb79d32..0ad6af44d3a705dac92a6848c0c68f6e1199ba4e 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 "")