From 2f9f9aaf0f3a6f8f432192787e1fc6ff4b818588 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Mon, 28 Oct 2019 19:21:46 +0100 Subject: [PATCH] Fix bin2h to use C_COMPILER_ID instead of CXX_COMPILER_ID Signed-off-by: Gabriel Ravier --- bin2h/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin2h/CMakeLists.txt b/bin2h/CMakeLists.txt index 7f721dc9..6f03f5c5 100644 --- a/bin2h/CMakeLists.txt +++ b/bin2h/CMakeLists.txt @@ -20,7 +20,7 @@ if(MSVC) endif() # Make it so source files are recognized as UTF-8 by MSVC -add_compile_options("$<$:/utf-8>") +add_compile_options("$<$:/utf-8>") # Enable link-time optimisation if available if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")