Skip to content

Commit

Permalink
Merge pull request #47 from qzhuyan/dev/william/fix-compile-with-cmak…
Browse files Browse the repository at this point in the history
…e-3.20.5

FIX issue #46

CI: don't use jwlawson/actions-setup-cmake
because github action virtual-environments has newer CMake 3.20.5 now

Fix compiling error detect in CMake 3.20
  • Loading branch information
qzhuyan authored Jul 15, 2021
2 parents b6a2847 + 847de56 commit 9c05d43
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ jobs:
- uses: gleam-lang/[email protected]
with:
otp-version: ${{ matrix.otp }}
- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.16.9'
- name: release build with debug log off
run: |
sudo sysctl -w kernel.core_pattern=core
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ elseif (CMAKE_SYSTEM_NAME MATCHES Darwin)
endif()

# @todo clean complier warnings in the code
target_compile_options(quicer_static PUBLIC "-og" "-ggdb3" "-Wno-unused-variable")
target_compile_options(quicer_static PUBLIC "-ggdb3" "-Wno-unused-variable")

add_library(quicer_nif SHARED ${SOURCES})
if (CMAKE_SYSTEM_NAME MATCHES Linux)
Expand Down

0 comments on commit 9c05d43

Please sign in to comment.