1
0
Fork 0
Browse Source

Use some quotes in gen_c_array()

master
Gavin Howard 4 years ago
parent
commit
e2eeb4bac4
Signed by: gavin
GPG Key ID: C08038BDF280D33E
  1. 2
      functions.cmake

2
functions.cmake

@ -56,7 +56,7 @@ function(gen_c_array infile outfile array_name target start_line)
configure_file("${FUNCTIONS_DIR}/gen_array.cmake.in" "${script}" @ONLY)
add_custom_command(OUTPUT "${outfile}" COMMAND ${CMAKE_COMMAND} -P ${script})
add_custom_command(OUTPUT "${outfile}" COMMAND "${CMAKE_COMMAND}" -P "${script}")
add_custom_target("${target}_script" DEPENDS "${outfile}")
add_library("${target}" "${outfile}")

Loading…
Cancel
Save