Commit 4b783446 authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'compiler-id-with-bracket-in-path'

a7d1c4ec CMakeDetermineCompilerId: Fix compiler id with square brackets in the path
parents 6f1f7965 a7d1c4ec
......@@ -365,14 +365,15 @@ ${CMAKE_${lang}_COMPILER_ID_OUTPUT}
# Find the executable produced by the compiler, try all files in the
# binary dir.
string(REGEX REPLACE "([][])" "[\\1]" _glob_id_dir "${CMAKE_${lang}_COMPILER_ID_DIR}")
file(GLOB files
# normal case
list(REMOVE_ITEM files "${src}")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment