From f9db30ea205c4369b714c7e300bd73a84ae09c45 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 29 Mar 2012 23:08:39 +0000 Subject: [PATCH] [CMAKE] * Make sure to pass the full path of the idl file in generate_idl_iids(). svn path=/trunk/; revision=56282 --- reactos/cmake/midl-support.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/cmake/midl-support.cmake b/reactos/cmake/midl-support.cmake index 93fab81df48..23973e5ccc3 100644 --- a/reactos/cmake/midl-support.cmake +++ b/reactos/cmake/midl-support.cmake @@ -82,9 +82,9 @@ function(generate_idl_iids _idl_file) get_defines(_defines) get_filename_component(_name ${_idl_file} NAME) - #if(_name STREQUAL "${_idl_file}") - # set(_idl_file "${CMAKE_CURRENT_SOURCE_DIR}/${_idl_file}") - #endif() + if(_name STREQUAL "${_idl_file}") + set(_idl_file "${CMAKE_CURRENT_SOURCE_DIR}/${_idl_file}") + endif() get_filename_component(_name_we ${_idl_file} NAME_WE) add_custom_command(