mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-06 13:45:00 +00:00
Define COMPILING_FOR_WINDOWS with CMake on Windows
This commit is contained in:
parent
bdee307f19
commit
37f7efb878
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ include_directories(${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/lib)
|
|||
if(MSVC)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS -wd4996)
|
||||
endif(MSVC)
|
||||
if(WIN32)
|
||||
add_definitions(-DCOMPILING_FOR_WINDOWS)
|
||||
endif(WIN32)
|
||||
|
||||
set(expat_SRCS
|
||||
lib/xmlparse.c
|
||||
|
|
Loading…
Add table
Reference in a new issue