Saves latest changes made in migration effort
This commit is contained in:
1 parent
f2a640242c
commit
46c8d8de3e
4 files changed
+555
-3
No files matched your search
@@ -19,7 +19,11 @@ if (PKG_CONFIG_FOUND)
|
||||
endif()
|
||||
|
||||
# Try config-mode: look for Grantlee5Config.cmake in CMAKE_PREFIX_PATH or installed location
|
||||
find_file(_Grantlee5Config NAMES Grantlee5Config.cmake PATHS ${CMAKE_PREFIX_PATH} NO_DEFAULT_PATH PATH_SUFFIXES Grantlee5)
|
||||
# Try to locate Grantlee5Config.cmake via common locations: CMAKE_PREFIX_PATH, EXTERNAL_DIR, repo/external, and typical install paths
|
||||
find_file(_Grantlee5Config NAMES Grantlee5Config.cmake
|
||||
PATHS ${CMAKE_PREFIX_PATH} $ENV{EXTERNAL_DIR} /repo/external /repo/external/grantlee
|
||||
NO_DEFAULT_PATH
|
||||
PATH_SUFFIXES Grantlee5 lib/cmake/Grantlee5)
|
||||
if(_Grantlee5Config)
|
||||
include(${_Grantlee5Config})
|
||||
if(TARGET Grantlee5::Templates)
|
||||
|
||||
Reference in new issue
Block a user