comparison UnitTestsSources/WebAssembly/CMakeLists.txt @ 1735:2bb735d76726

fix CMake for wasm samples
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 03 Dec 2020 07:22:00 +0100
parents 03afa09cfcf1
children 9ac2a65d4172
comparison
equal deleted inserted replaced
1734:940575fba346 1735:2bb735d76726
20 cmake_minimum_required(VERSION 2.8.3) 20 cmake_minimum_required(VERSION 2.8.3)
21 cmake_policy(SET CMP0058 NEW) 21 cmake_policy(SET CMP0058 NEW)
22 22
23 project(OrthancStone) 23 project(OrthancStone)
24 24
25 set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline")
26 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg")
25 set(ORTHANC_STONE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/../../wasm-binaries/" CACHE PATH "Where to put the WebAssembly binaries") 27 set(ORTHANC_STONE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/../../wasm-binaries/" CACHE PATH "Where to put the WebAssembly binaries")
26 28
27 29
28 # Configuration of the Emscripten compiler for WebAssembly target 30 # Configuration of the Emscripten compiler for WebAssembly target
29 # --------------------------------------------------------------- 31 # ---------------------------------------------------------------