CMakeLists: - no need for dirent on mingw

- disable dll message
minwin.h:  remove mingw warning
 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15053 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2006-09-18 20:38:39 +00:00
parent 081d1e9438
commit f3d2fa581a
2 changed files with 8 additions and 4 deletions

View File

@ -11,9 +11,9 @@ if(${LINK} MATCHES "shared" OR ASPELL_LINK)
set(ASPELL_SHARED_LIB 1)
set(ASPELL_LINK SHARED CACHE TYPE STRING)
else(${LINK} MATCHES "shared" OR ASPELL_LINK)
MESSAGE(STATUS)
MESSAGE(STATUS "Use -DLINK=shared to build the libraries as shared")
MESSAGE(STATUS)
#MESSAGE(STATUS)
#MESSAGE(STATUS "Use -DLINK=shared to build the libraries as shared")
#MESSAGE(STATUS)
set(ASPELL_LINK STATIC)
endif(${LINK} MATCHES "shared" OR ASPELL_LINK)
@ -100,8 +100,10 @@ if(NOT CVS_HEAD)
../lib/filter-c.cpp
../lib/document_checker-c.cpp
# msvc win32 support
../win32/dirent.c
)
if(MSVC)
set(libaspell_sources ${libaspell_sources} ../win32/dirent.c)
endif(MSVC)
else(NOT CVS_HEAD)
set(libaspell_sources ${libaspell_sources}
../common/convert_filter.cpp

View File

@ -28,7 +28,9 @@
#define NOMB
#define NOMEMMGR
#define NOMETAFILE
#ifndef NOMINMAX
#define NOMINMAX
#endif
#define NOMSG
#define NOOPENFILE
#define NOSCROLL