[ros-diffs] [akhaldi] 48336: [CMAKE] - We do have oldnames lib now. - Add proper psdk dependency for libxml2.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Wed Jul 28 22:01:08 UTC 2010


Author: akhaldi
Date: Wed Jul 28 22:01:07 2010
New Revision: 48336

URL: http://svn.reactos.org/svn/reactos?rev=48336&view=rev
Log:
[CMAKE]
- We do have oldnames lib now.
- Add proper psdk dependency for libxml2.

Modified:
    branches/cmake-bringup/lib/3rdparty/libxml2/CMakeLists.txt

Modified: branches/cmake-bringup/lib/3rdparty/libxml2/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/libxml2/CMakeLists.txt?rev=48336&r1=48335&r2=48336&view=diff
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/libxml2/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/3rdparty/libxml2/CMakeLists.txt [iso-8859-1] Wed Jul 28 22:01:07 2010
@@ -3,8 +3,6 @@
 
 add_definitions(-D__MINGW32__ -DLIBXML_STATIC -D_REENTRANT -DHAVE_WIN32_THREADS -D_MBCS -D_WINDOWS -DWIN32 -DHAVE_CONFIG_H)
 add_definitions(-D_DLL -D__USE_CRTIMP)
-# FIXME: workarounds until we have a proper oldnames library
-add_definitions(-Dgetcwd=_getcwd -Dclose=_close -Dwrite=_write -Dread=_read -Dopen=_open)
 
 file(GLOB_RECURSE SOURCE "*.c")
 LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/runsuite.c)
@@ -35,3 +33,5 @@
 LIST(REMOVE_ITEM SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/xmlint.c)
 
 add_library(libxml2 ${SOURCE})
+target_link_libraries(libxml2 oldnames)
+add_dependencies(libxml2 psdk)




More information about the Ros-diffs mailing list