]> granicus.if.org Git - multimarkdown/commitdiff
CHANGED: Configure cmake to use C99
authorFletcher T. Penney <fletcher@fletcherpenney.net>
Sat, 18 Feb 2017 02:25:06 +0000 (21:25 -0500)
committerFletcher T. Penney <fletcher@fletcherpenney.net>
Sat, 18 Feb 2017 02:25:06 +0000 (21:25 -0500)
CMakeLists.txt

index 091b6d73ae7afa8d8b657bcd404e94512af38d82..1d00d41cefc79499465df5de4af4d1437a47b286 100644 (file)
@@ -413,6 +413,10 @@ SET_TARGET_PROPERTIES(libMultiMarkdown PROPERTIES PREFIX "")
 set_target_properties(libMultiMarkdown PROPERTIES XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH "NO")
 set_target_properties(multimarkdown PROPERTIES XCODE_ATTRIBUTE_ONLY_ACTIVE_ARCH "NO")
 
+# Use C99
+set_property(TARGET libMultiMarkdown PROPERTY C_STANDARD 99)
+set_property(TARGET multimarkdown PROPERTY C_STANDARD 99)
+
 
 # ==========================
 # Build Installer with CPack