diff --git a/cmake/Msg-Interface.cmake b/cmake/Msg-Interface.cmake index cc92f53..9c119f2 100644 --- a/cmake/Msg-Interface.cmake +++ b/cmake/Msg-Interface.cmake @@ -1,8 +1,8 @@ -find_program(IFC - NAMES ifc +find_program(XPCG + NAMES xpcg REQUIRED HINTS ${BUILD_TOOLS_DIR}) -message(STATUS "Found interface compiler: ${IFC}") +message(STATUS "Found interface generator: ${XPCG}") function(add_interface) set(options) @@ -20,9 +20,9 @@ function(add_interface) add_custom_command( OUTPUT ${header_path} - COMMAND ${IFC} ${arg_PATH} + COMMAND ${XPCG} ${arg_PATH} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${arg_PARENT_DIR} - COMMENT "Compiling interface: ${arg_NAME}") + COMMENT "Generating interface: ${arg_NAME}") add_custom_target(ifgen-${arg_NAME} ALL DEPENDS ${header_path})