Skip to content

Commit 26ef3f0

Browse files
committed
Attempt to fix cmake build on former cmake version as well
1 parent 9121df4 commit 26ef3f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmake/FindAbsl.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,13 +207,13 @@ foreach (absl_lib IN ITEMS ${absl_libs})
207207
PATHS "${INPUT_SDK_PATH_MULTI}/lib"
208208
NO_DEFAULT_PATH
209209
)
210-
if (NOT TARGET Absl::${absl_lib})
210+
if (NOT TARGET "Absl::${absl_lib}")
211211
if (EXISTS ${absl_${absl_lib}_LIBRARY})
212212
add_library(Absl::${absl_lib} UNKNOWN IMPORTED)
213213
set_target_properties(
214214
Absl::${absl_lib} PROPERTIES IMPORTED_LOCATION "${absl_${absl_lib}_LIBRARY}"
215215
)
216-
216+
217217
set(ABSL_TARGETS "${ABSL_TARGETS};Absl::${absl_lib}")
218218
else ()
219219
add_library(Absl::${absl_lib} INTERFACE IMPORTED)

0 commit comments

Comments
 (0)