Skip to content

Commit

Permalink
build: set module path from current source dir
Browse files Browse the repository at this point in the history
Just setting it to cmake/modules might not always work.
  • Loading branch information
romangg committed Feb 22, 2024
1 parent 8c62d0c commit 5d38859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0
find_package(ECM ${KF6_MIN_VERSION} REQUIRED NO_MODULE)

# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
set(CMAKE_MODULE_PATH cmake/modules ${ECM_MODULE_PATH})
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH})

include(FeatureSummary)
include(WriteBasicConfigVersionFile)
Expand Down

0 comments on commit 5d38859

Please sign in to comment.