]> git.lyx.org Git - features.git/commitdiff
improve language flag for Objective-C compiler call
authorStephan Witt <switt@lyx.org>
Wed, 30 Apr 2014 21:14:30 +0000 (23:14 +0200)
committerStephan Witt <switt@lyx.org>
Wed, 30 Apr 2014 21:14:41 +0000 (23:14 +0200)
src/support/CMakeLists.txt

index 285f35f8510360eb03fe4328f4eb2095702e6b7c..b0d1c6db202f58ca12a57dadf6b69f42632b195d 100644 (file)
@@ -25,7 +25,7 @@ file(GLOB support_linkback_headers ${TOP_SRC_DIR}/src/support/linkback/*.h)
 set_source_files_properties(${support_linkback_sources} 
        ${TOP_SRC_DIR}/src/support/AppleSpeller.m
        ${TOP_SRC_DIR}/src/support/AppleScript.m
-               PROPERTIES COMPILE_FLAGS "-ansi")
+               PROPERTIES COMPILE_FLAGS "-std=c99")
 
 list(REMOVE_ITEM support_sources
        ${TOP_SRC_DIR}/src/support/os_win32.cpp