mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
correct syntax error in libstudxml CMakeLists, closes #136
This commit is contained in:
parent
b914b064b7
commit
f6626e5079
2
third-party/libstudxml/CMakeLists.txt
vendored
2
third-party/libstudxml/CMakeLists.txt
vendored
|
@ -40,7 +40,7 @@ target_link_libraries(libstudxml PRIVATE ${EXPAT_LIBRARIES})
|
||||||
# Prevent warning C4996 caused by strcpy, strncpy, sprintf in genx
|
# Prevent warning C4996 caused by strcpy, strncpy, sprintf in genx
|
||||||
# TODO: would it be better to define this only in genx.c?
|
# TODO: would it be better to define this only in genx.c?
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
target_compile_definition(libstudxml PRIVATE _CRT_SECURE_NO_WARNINGS=1)
|
target_compile_definitions(libstudxml PRIVATE _CRT_SECURE_NO_WARNINGS=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Build with -fPIC when xlnt is a shared library
|
# Build with -fPIC when xlnt is a shared library
|
||||||
|
|
Loading…
Reference in New Issue
Block a user