Define XML_STATIC only for MSVC
This commit is contained in:
parent
4752b66bed
commit
bc940231e7
@ -38,6 +38,10 @@ target_include_directories(xmp
|
||||
${EXPAT_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
if (MSVC)
|
||||
target_compile_definitions(xmp PRIVATE XML_STATIC)
|
||||
endif()
|
||||
|
||||
check_include_file( "stdint.h" EXV_HAVE_STDINT_H )
|
||||
if (EXV_HAVE_STDINT_H)
|
||||
target_compile_definitions(xmp PRIVATE EXV_HAVE_STDINT_H)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user