Author: akhaldi
Date: Sun Aug 22 23:46:10 2010
New Revision: 48598
URL:
http://svn.reactos.org/svn/reactos?rev=48598&view=rev
Log:
[CMAKE]
- Fix adns lib.
Modified:
branches/cmake-bringup/lib/3rdparty/adns/CMakeLists.txt
Modified: branches/cmake-bringup/lib/3rdparty/adns/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/adns…
==============================================================================
--- branches/cmake-bringup/lib/3rdparty/adns/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/lib/3rdparty/adns/CMakeLists.txt [iso-8859-1] Sun Aug 22
23:46:10 2010
@@ -1,9 +1,22 @@
+
include_directories(src)
include_directories(adns_win32)
+add_definitions(-D_DLL -D__USE_CRTIMP)
add_definitions(-DADNS_JGAA_WIN32)
-file(GLOB_RECURSE SOURCE "/src/*.c" "./adns_win32/*.c")
+list(APPEND SOURCE
+ adns_win32/adns_unix_calls.c
+ src/check.c
+ src/event.c
+ src/general.c
+ src/parse.c
+ src/poll.c
+ src/query.c
+ src/reply.c
+ src/setup.c
+ src/transmit.c
+ src/types.c)
add_library(adns ${SOURCE})
add_dependencies(adns psdk)