From f6626e5079ebcbf35ed4b6ddec50813a597e8441 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Tue, 21 Mar 2017 18:51:50 -0400 Subject: [PATCH] correct syntax error in libstudxml CMakeLists, closes #136 --- third-party/libstudxml/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third-party/libstudxml/CMakeLists.txt b/third-party/libstudxml/CMakeLists.txt index 99ec4777..cab37dd1 100644 --- a/third-party/libstudxml/CMakeLists.txt +++ b/third-party/libstudxml/CMakeLists.txt @@ -40,7 +40,7 @@ target_link_libraries(libstudxml PRIVATE ${EXPAT_LIBRARIES}) # Prevent warning C4996 caused by strcpy, strncpy, sprintf in genx # TODO: would it be better to define this only in genx.c? if(MSVC) - target_compile_definition(libstudxml PRIVATE _CRT_SECURE_NO_WARNINGS=1) + target_compile_definitions(libstudxml PRIVATE _CRT_SECURE_NO_WARNINGS=1) endif() # Build with -fPIC when xlnt is a shared library