使用cmake-3.11.0-rc2进行CEF项目时发生CMake错误。
代码:
set(CEF_TARGET libcef_dll_wrapper)
{{
'prefix': 'libcef',
'library': '${CEF_TARGET}',
'append_macro': 'LIBCEF_APPEND_PLATFORM_SOURCES',
'includes': [
'includes_common',
'autogen_cpp_includes',
'includes_capi',
'autogen_capi_includes',
'includes_wrapper',
'includes_wrapper_mac:MACOSX',
'includes_win:WINDOWS',
'includes_mac:MACOSX',
'includes_linux:LINUX',
'libcef_dll_wrapper_sources_base',
'libcef_dll_wrapper_sources_common',
'libcef_dll_wrapper_sources_mac:MACOSX',
'autogen_client_side',
],
}}
SET_LIBRARY_TARGET_PROPERTIES(${CEF_TARGET})
libcef_dll / CMakeLists.txt:20上的CMake错误:解析错误。预期 命令名,带有文本“ {{”的不带引号的参数。