comparison Resources/CMake/OrthancFrameworkConfiguration.cmake @ 2513:97a74f0eac7a

loading DICOM dictionaries in sandboxed environments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Mar 2018 18:02:07 +0200
parents 4dcafa8d6633
children 38d666a40860
comparison
equal deleted inserted replaced
2512:4dcafa8d6633 2513:97a74f0eac7a
337 ## 337 ##
338 ## Locale support: libiconv 338 ## Locale support: libiconv
339 ## 339 ##
340 340
341 if (ENABLE_LOCALE) 341 if (ENABLE_LOCALE)
342 include(${CMAKE_CURRENT_LIST_DIR}/LibIconvConfiguration.cmake) 342 if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
343 # In WebAssembly or asm.js, we rely on the version of iconv that
344 # is shipped with the stdlib
345 unset(USE_BOOST_ICONV CACHE)
346 else()
347 include(${CMAKE_CURRENT_LIST_DIR}/LibIconvConfiguration.cmake)
348 endif()
349
343 add_definitions(-DORTHANC_ENABLE_LOCALE=1) 350 add_definitions(-DORTHANC_ENABLE_LOCALE=1)
344 endif() 351 endif()
345 352
346 353
347 ## 354 ##