cmake/support/emscripten_setup.cmake
raw| 1 | # Workaround for bug in emscripten cmake: |
| 2 | # add .bc (and on macOS .dylib) as library suffixes |
| 3 | if (DEFINED EMSCRIPTEN) |
| 4 | list(APPEND CMAKE_FIND_LIBRARY_SUFFIXES ".bc") |
| 5 | if (CMAKE_HOST_APPLE) |
| 6 | list(APPEND CMAKE_FIND_LIBRARY_SUFFIXES ".dylib") |
| 7 | endif() |
| 8 | set(MZN_STATIC_STDLIB_DIR "/usr/share/minizinc") |
| 9 | set(HIGHS_PLUGIN OFF) |
| 10 | endif() |