Author: akhaldi Date: Thu Mar 29 23:08:39 2012 New Revision: 56282
URL: http://svn.reactos.org/svn/reactos?rev=56282&view=rev Log: [CMAKE] * Make sure to pass the full path of the idl file in generate_idl_iids().
Modified: trunk/reactos/cmake/midl-support.cmake
Modified: trunk/reactos/cmake/midl-support.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/midl-support.cmake?re... ============================================================================== --- trunk/reactos/cmake/midl-support.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/midl-support.cmake [iso-8859-1] Thu Mar 29 23:08:39 2012 @@ -82,9 +82,9 @@ 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(