Skip to content

CMake: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR.

Daan De Meyer requested to merge daandemeyer/kconfig:cmake-fix into master

Allows including kconfig with add_subdirectory. CMAKE_SOURCE_DIR returns the top-level CMakelists.txt. PROJECT_SOURCE_DIR returns the last CMakeLists.txt that called project().

Edited by Daan De Meyer

Merge request reports

Loading