correct syntax error in libstudxml CMakeLists, closes #136

This commit is contained in:
Thomas Fussell 2017-03-21 18:51:50 -04:00
parent b914b064b7
commit f6626e5079

View File

@ -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