mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
081d1e9438
commit
f3d2fa581a
@ -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
|
||||
|
@ -28,7 +28,9 @@
|
||||
#define NOMB
|
||||
#define NOMEMMGR
|
||||
#define NOMETAFILE
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#define NOMSG
|
||||
#define NOOPENFILE
|
||||
#define NOSCROLL
|
||||
|
Loading…
Reference in New Issue
Block a user