@@ -15,7 +15,8 @@ message(TRACE "BemanExemplar_projectDir=\"${BemanExemplar_projectDir}\"")
1515
1616message (TRACE "BEMAN_EXEMPLAR_LOCKFILE=\" ${BEMAN_EXEMPLAR_LOCKFILE} \" " )
1717file (
18- REAL_PATH "${BEMAN_EXEMPLAR_LOCKFILE} "
18+ REAL_PATH
19+ "${BEMAN_EXEMPLAR_LOCKFILE} "
1920 BemanExemplar_lockfile
2021 BASE_DIRECTORY "${BemanExemplar_projectDir} "
2122 EXPAND_TILDE
@@ -37,7 +38,8 @@ function(BemanExemplar_provideDependency method package_name)
3738
3839 # Get the "dependencies" field and store it in BemanExemplar_dependenciesObj
3940 string (
40- JSON BemanExemplar_dependenciesObj
41+ JSON
42+ BemanExemplar_dependenciesObj
4143 ERROR_VARIABLE BemanExemplar_error
4244 GET "${BemanExemplar_rootObj} "
4345 "dependencies"
@@ -48,7 +50,8 @@ function(BemanExemplar_provideDependency method package_name)
4850
4951 # Get the length of the libraries array and store it in BemanExemplar_dependenciesObj
5052 string (
51- JSON BemanExemplar_numDependencies
53+ JSON
54+ BemanExemplar_numDependencies
5255 ERROR_VARIABLE BemanExemplar_error
5356 LENGTH "${BemanExemplar_dependenciesObj} "
5457 )
@@ -70,7 +73,8 @@ function(BemanExemplar_provideDependency method package_name)
7073 # Get the dependency object at BemanExemplar_index
7174 # and store it in BemanExemplar_depObj
7275 string (
73- JSON BemanExemplar_depObj
76+ JSON
77+ BemanExemplar_depObj
7478 ERROR_VARIABLE BemanExemplar_error
7579 GET "${BemanExemplar_dependenciesObj} "
7680 "${BemanExemplar_index} "
@@ -84,7 +88,8 @@ function(BemanExemplar_provideDependency method package_name)
8488
8589 # Get the "name" field and store it in BemanExemplar_name
8690 string (
87- JSON BemanExemplar_name
91+ JSON
92+ BemanExemplar_name
8893 ERROR_VARIABLE BemanExemplar_error
8994 GET "${BemanExemplar_depObj} "
9095 "name"
@@ -98,7 +103,8 @@ function(BemanExemplar_provideDependency method package_name)
98103
99104 # Get the "package_name" field and store it in BemanExemplar_pkgName
100105 string (
101- JSON BemanExemplar_pkgName
106+ JSON
107+ BemanExemplar_pkgName
102108 ERROR_VARIABLE BemanExemplar_error
103109 GET "${BemanExemplar_depObj} "
104110 "package_name"
@@ -112,7 +118,8 @@ function(BemanExemplar_provideDependency method package_name)
112118
113119 # Get the "git_repository" field and store it in BemanExemplar_repo
114120 string (
115- JSON BemanExemplar_repo
121+ JSON
122+ BemanExemplar_repo
116123 ERROR_VARIABLE BemanExemplar_error
117124 GET "${BemanExemplar_depObj} "
118125 "git_repository"
@@ -126,7 +133,8 @@ function(BemanExemplar_provideDependency method package_name)
126133
127134 # Get the "git_tag" field and store it in BemanExemplar_tag
128135 string (
129- JSON BemanExemplar_tag
136+ JSON
137+ BemanExemplar_tag
130138 ERROR_VARIABLE BemanExemplar_error
131139 GET "${BemanExemplar_depObj} "
132140 "git_tag"
@@ -141,12 +149,14 @@ function(BemanExemplar_provideDependency method package_name)
141149 if (method STREQUAL "FIND_PACKAGE" )
142150 if (package_name STREQUAL BemanExemplar_pkgName)
143151 string (
144- APPEND BemanExemplar_debug
152+ APPEND
153+ BemanExemplar_debug
145154 "Redirecting find_package calls for ${BemanExemplar_pkgName} "
146155 "to FetchContent logic.\n "
147156 )
148157 string (
149- APPEND BemanExemplar_debug
158+ APPEND
159+ BemanExemplar_debug
150160 "Fetching ${BemanExemplar_repo} at "
151161 "${BemanExemplar_tag} according to ${BemanExemplar_lockfile} ."
152162 )
0 commit comments