define ASMJIT_STATIC to work around Windows issues

This commit is contained in:
Axel Kohlmeyer
2022-12-23 01:35:05 -05:00
parent 3a6492fc42
commit acf683e9d0

View File

@ -22,7 +22,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
endif()
if(LEPTON_ENABLE_JIT)
target_compile_definitions(lmplepton PUBLIC "LEPTON_USE_JIT=1;ASMJIT_BUILD_X86=1;ASMJIT_EMBED=1;ASMJIT_BUILD_RELEASE=1")
target_compile_definitions(lmplepton PUBLIC "LEPTON_USE_JIT=1;ASMJIT_BUILD_X86=1;ASMJIT_EMBED=1;ASMJIT_STATIC=1;ASMJIT_BUILD_RELEASE=1")
target_include_directories(lmplepton PUBLIC ${LEPTON_SOURCE_DIR})
endif()