Author: akhaldi
Date: Thu Mar 29 13:24:26 2012
New Revision: 56275
URL:
http://svn.reactos.org/svn/reactos?rev=56275&view=rev
Log:
[CMAKE]
* Pass /no_def_idir to midl, to search only in the include folders that we specify
(through /I).
Modified:
trunk/reactos/cmake/idl-support.cmake
Modified: trunk/reactos/cmake/idl-support.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/idl-support.cmake?re…
==============================================================================
--- trunk/reactos/cmake/idl-support.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/idl-support.cmake [iso-8859-1] Thu Mar 29 13:24:26 2012
@@ -10,11 +10,11 @@
set(IDL_PROXY_ARG /proxy)
set(IDL_INTERFACE_ARG /iid)
if(ARCH MATCHES i386)
- set(IDL_FLAGS /nologo /win32)
+ set(IDL_FLAGS /nologo /win32 /no_def_idir)
elseif(ARCH MATCHES amd64)
- set(IDL_FLAGS /nologo /amd64)
+ set(IDL_FLAGS /nologo /amd64 /no_def_idir)
else()
- set(IDL_FLAGS /nologo)
+ set(IDL_FLAGS /nologo /no_def_idir)
endif()
set(IDL_DEPENDS "")
else()