From 06d4ea1124e9711b6a7b3cef27a782552eb905af Mon Sep 17 00:00:00 2001 From: Christopher Harris Date: Thu, 24 Oct 2024 15:56:33 -0500 Subject: [PATCH] fix build interface includes (#514) build interface includes was accidentally using ``` .../build/conda/cuda-12.5/release/autogenerated/include ``` instead of ``` .../build/conda/cuda-12.5/release/cpp/mrc/autogenerated/include ``` this PR fixes that, such when depending on mrc from down-stream libraries, the following error does not occur: ``` CMake Error in python/morpheus_llm/morpheus_llm/_lib/CMakeLists.txt: Imported target "mrc::pymrc" includes non-existent path "/home/coder/mrc/build/conda/cuda-12.5/release/autogenerated/include" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide. ``` Authors: - Christopher Harris (https://github.com/cwharris) Approvers: - Michael Demoret (https://github.com/mdemoret-nv) URL: https://github.com/nv-morpheus/MRC/pull/514 --- cpp/mrc/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/mrc/CMakeLists.txt b/cpp/mrc/CMakeLists.txt index 1dfb37487..7a3e40481 100644 --- a/cpp/mrc/CMakeLists.txt +++ b/cpp/mrc/CMakeLists.txt @@ -191,7 +191,7 @@ target_link_libraries(libmrc target_include_directories(libmrc PUBLIC $ - $ + $ $ PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src