• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision9023 (tree)
Time2020-11-02 23:40:00
Authorzmatsuo

Log Message

cJSON.c を VS 2008 でビルドできるよう修正

- r8959 と同じ方法でとりあえず回避

Change Summary

Incremental Difference

--- trunk/TTXSamples/TTXCheckUpdate/CMakeLists.txt (revision 9022)
+++ trunk/TTXSamples/TTXCheckUpdate/CMakeLists.txt (revision 9023)
@@ -42,8 +42,8 @@
4242 -D CJSON_HIDE_SYMBOLS
4343 )
4444
45-if(MSVC_VERSION STREQUAL 1400)
46- # VS2005 special define
45+if(MSVC_VERSION STRLESS 1600)
46+ # VS2005(1400),2008(1500) (<2010(1600)) special define
4747 set_source_files_properties(
4848 ../../libs/cJSON/cJSON.c
4949 PROPERTIES
Show on old repository browser