TmpMenu/cmake/asmjit.cmake

14 lines
378 B
CMake
Raw Normal View History

include(FetchContent)
message("asmjit")
FetchContent_Declare(
asmjit
GIT_REPOSITORY https://github.com/asmjit/asmjit.git
GIT_TAG ffac9f36fb045dd2c6a81e1b5b9ccc115e5ef924
GIT_PROGRESS TRUE
)
2024-07-09 01:34:57 +08:00
set(ASMJIT_STATIC ON)
set(ASMJIT_NO_AARCH64 ON)
set(ASMJIT_NO_FOREIGN ON)
FetchContent_MakeAvailable(asmjit)
2024-07-09 01:34:57 +08:00
set_property(TARGET asmjit PROPERTY CXX_STANDARD 23)