Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
  • Loading branch information
therealbobo committed Jun 6, 2024
1 parent ea72d55 commit 4737231
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
11 changes: 3 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,10 @@ if(NOT WIN32)
else()
set(MINIMAL_BUILD ON)

set(SYSDIG_FLAGS_WIN "-D_CRT_SECURE_NO_WARNINGS -DWIN32 -DMINIMAL_BUILD /EHsc /W3 /Zi")
set(SYSDIG_FLAGS_WIN "-D_CRT_SECURE_NO_WARNINGS -DWIN32 -DMINIMAL_BUILD /EHsc /W3 /Zi /MT")

if(CMAKE_VERSION VERSION_LESS 3.15.0)
set(SYSDIG_FLAGS_WIN_DEBUG "/MTd /Od")
set(SYSDIG_FLAGS_WIN_RELEASE "/MT")
else()
set(SYSDIG_FLAGS_WIN_DEBUG "/Od")
set(SYSDIG_FLAGS_WIN_RELEASE "")
endif()
set(SYSDIG_FLAGS_WIN_DEBUG "/MTd /Od")
set(SYSDIG_FLAGS_WIN_RELEASE "/MT")

set(CMAKE_C_FLAGS "${SYSDIG_FLAGS_WIN}")
set(CMAKE_CXX_FLAGS "${SYSDIG_FLAGS_WIN}")
Expand Down
4 changes: 2 additions & 2 deletions cmake/modules/luajit.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ else()
else()
ExternalProject_Add(luajit
PREFIX "${PROJECT_BINARY_DIR}/luajit-prefix"
URL "https://github.com/LuaJIT/LuaJIT/archive/v2.1.0-beta3.tar.gz"
URL_HASH "SHA256=409f7fe570d3c16558e594421c47bdd130238323c9d6fd6c83dedd2aaeb082a8"
GIT_REPOSITORY "https://github.com/LuaJIT/LuaJIT"
GIT_TAG "f3c856915b4ce7ccd24341e8ac73e8a9fd934171"
CONFIGURE_COMMAND ""
BUILD_COMMAND msvcbuild.bat
BUILD_BYPRODUCTS ${LUAJIT_LIB}
Expand Down

0 comments on commit 4737231

Please sign in to comment.