gszymaszek added a comment.
`FindLibGit2.cmake` and other files include such fragment:
if(LIBGIT2_FOUND AND NOT TARGET LibGit2::LibGit2)
add_library(LibGit2::LibGit2 UNKNOWN IMPORTED)
set_target_properties(LibGit2::LibGit2 PROPERTIES
IMPORTED_LOCATION "${LIBGIT2_LIBRARY}"
INTERFACE_COMPILE_OPTIONS "${LIBGIT2_DEFINITIONS}"
INTERFACE_INCLUDE_DIRECTORIES "${LIBGIT2_INCLUDE_DIR}"
)
endif()
Is something similar needed in EditorConfig’s case?
REPOSITORY
R240 Extra CMake Modules
REVISION DETAIL
https://phabricator.kde.org/D4589
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: gszymaszek, #build_system, #frameworks, alexmerry
Cc: dhaumann