comparison Resources/CMake/BoostConfiguration.cmake @ 1323:5a92665dee23

Sample plugin: Serve folders
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 13 Feb 2015 14:28:16 +0100
parents f16f5a8df647
children afaa55d42ddd
comparison
equal deleted inserted replaced
1322:f497a72d9f71 1323:5a92665dee23
80 # Starting with release 0.8.2, Orthanc statically links against 80 # Starting with release 0.8.2, Orthanc statically links against
81 # libiconv, even on Windows. Indeed, the "WCONV" library of 81 # libiconv, even on Windows. Indeed, the "WCONV" library of
82 # Windows XP seems not to support properly several codepages 82 # Windows XP seems not to support properly several codepages
83 # (notably "Latin3", "Hebrew", and "Arabic"). 83 # (notably "Latin3", "Hebrew", and "Arabic").
84 84
85 # add_definitions(-DBOOST_LOCALE_WITH_WCONV=1) 85 if (USE_BOOST_ICONV)
86 include(${ORTHANC_ROOT}/Resources/CMake/LibIconvConfiguration.cmake) 86 include(${ORTHANC_ROOT}/Resources/CMake/LibIconvConfiguration.cmake)
87 else()
88 add_definitions(-DBOOST_LOCALE_WITH_WCONV=1)
89 endif()
87 90
88 else() 91 else()
89 message(FATAL_ERROR "Support your platform here") 92 message(FATAL_ERROR "Support your platform here")
90 endif() 93 endif()
91 94