From e2d7929b73df04a738a34ad5cf03fe2f921571bf Mon Sep 17 00:00:00 2001 From: Jingyu Zhou Date: Sun, 30 Jun 2019 08:21:26 -0700 Subject: [PATCH] Remove redundant actor compiler flags. --- cmake/FlowCommands.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/FlowCommands.cmake b/cmake/FlowCommands.cmake index 29abc1efdf..d4ddd41c05 100644 --- a/cmake/FlowCommands.cmake +++ b/cmake/FlowCommands.cmake @@ -180,12 +180,12 @@ function(add_flow_target) list(APPEND generated_files ${CMAKE_CURRENT_BINARY_DIR}/${generated}) if(WIN32) add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${generated}" - COMMAND $ "${CMAKE_CURRENT_SOURCE_DIR}/${src}" "${CMAKE_CURRENT_BINARY_DIR}/${generated}" ${actor_compiler_flags} ${actor_compiler_flags} + COMMAND $ "${CMAKE_CURRENT_SOURCE_DIR}/${src}" "${CMAKE_CURRENT_BINARY_DIR}/${generated}" ${actor_compiler_flags} DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${src}" actorcompiler COMMENT "Compile actor: ${src}") else() add_custom_command(OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${generated}" - COMMAND ${MONO_EXECUTABLE} ${actor_exe} "${CMAKE_CURRENT_SOURCE_DIR}/${src}" "${CMAKE_CURRENT_BINARY_DIR}/${generated}" ${actor_compiler_flags} ${actor_compiler_flags} > /dev/null + COMMAND ${MONO_EXECUTABLE} ${actor_exe} "${CMAKE_CURRENT_SOURCE_DIR}/${src}" "${CMAKE_CURRENT_BINARY_DIR}/${generated}" ${actor_compiler_flags} > /dev/null DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/${src}" actorcompiler COMMENT "Compile actor: ${src}") endif()