Skip to content

Commit e41afce

Browse files
authored
Add missing CMake variable for configure_file (#5287)
Although seemingly unnecessary for CMake builds of DXC, for our GN build, we needed to write a script to replicate the behaviour of CMake's "configure_file". Having an variable expansion with no variable ("${}") made the script more complex. Besides, this looks like a bug.
1 parent eaa85e0 commit e41afce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/llvm/Config/config.h.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@
303303
#cmakedefine HAVE_SYS_IOCTL_H ${HAVE_SYS_IOCTL_H}
304304

305305
/* Define to 1 if you have the <sys/mman.h> header file. */
306-
#cmakedefine HAVE_SYS_MMAN_H ${}
306+
#cmakedefine HAVE_SYS_MMAN_H ${HAVE_SYS_MMAN_H}
307307

308308
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
309309
*/

0 commit comments

Comments
 (0)