Skip to content

Commit

Permalink
windows上使用静态编译
Browse files Browse the repository at this point in the history
  • Loading branch information
CppCXY committed Apr 12, 2022
1 parent 837a26e commit 3e105a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. ${{ matrix.cmake_arch }} -G "Visual Studio 17 2022"
cmake .. ${{ matrix.cmake_arch }} -G "Visual Studio 17 2022" -DCMAKE_USER_MAKE_RULES_OVERRIDE="${{ github.workspace }}/cmake/flags_override.cmake"
cmake --build . --config RelWithDebInfo
cmake --install . --config RelWithDebInfo --prefix ${{ github.workspace }}/artifact/
- name: Build-linux
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ elseif(${EMMY_LUA_VERSION} STREQUAL "jit")
#add_definitions(-DEMMY_LUA_JIT_SUPPORT_LUA_SETFUNCS)
endif()

add_definitions(-DEMMY_CORE_VERSION="1.2.8")
add_definitions(-DEMMY_CORE_VERSION="1.2.9")

if(EMMY_USE_LUA_SOURCE)
add_definitions(-DEMMY_USE_LUA_SOURCE)
Expand Down

0 comments on commit 3e105a5

Please sign in to comment.