Skip to content

build: fix CMAKE_MODULE_PATH for add_subdirectory support#42

Open
Biblink02 wants to merge 1 commit intotud-ccc:mainfrom
Biblink02:fix-cmake-module-path
Open

build: fix CMAKE_MODULE_PATH for add_subdirectory support#42
Biblink02 wants to merge 1 commit intotud-ccc:mainfrom
Biblink02:fix-cmake-module-path

Conversation

@Biblink02
Copy link

Problem: CMakeLists.txt uses ${CMAKE_SOURCE_DIR}/cmake for the module path. When included via add_subdirectory(), this points to the parent project, causing errors like Unknown CMake command "mlir_gen_ir".
Solution: Changed to ${CMAKE_CURRENT_SOURCE_DIR}/cmake. This resolves the module directory relative to Cinnamon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant