Fixed CMake errors when Kraken is included from a parent CMake project
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
2026-03-09 23:32:54 -07:00
parent 5d077cee6d
commit 5293c769a3
3 changed files with 2 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ else(WIN32)
set(CMAKE_CXX_COMPILER "clang++")
endif(WIN32)
target_include_directories(kraken_convert PRIVATE ${CMAKE_SOURCE_DIR}/hydra/include ${CMAKE_SOURCE_DIR}/kraken/public)
target_include_directories(kraken_convert PRIVATE ${PROJECT_SOURCE_DIR}/hydra/include ${PROJECT_SOURCE_DIR}/kraken/public)
TARGET_LINK_LIBRARIES( kraken_convert kraken ${EXTRA_LIBS} )