TmpMenu/cmake/asmjit.cmake
2024-07-08 19:34:57 +02:00

14 lines
378 B
CMake

include(FetchContent)
message("asmjit")
FetchContent_Declare(
asmjit
GIT_REPOSITORY https://github.com/asmjit/asmjit.git
GIT_TAG ffac9f36fb045dd2c6a81e1b5b9ccc115e5ef924
GIT_PROGRESS TRUE
)
set(ASMJIT_STATIC ON)
set(ASMJIT_NO_AARCH64 ON)
set(ASMJIT_NO_FOREIGN ON)
FetchContent_MakeAvailable(asmjit)
set_property(TARGET asmjit PROPERTY CXX_STANDARD 23)