File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed
Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 2121 with :
2222 cmake-version : ' 3.21.3'
2323
24+ - name : Install LLVM
25+ uses : llvm/setup-llvm@v2
26+ with :
27+ version : ' 17.0.3'
28+ clang : true
29+
2430 - name : Configure with CMake
25- run : cmake -S . -B build -G "Visual Studio 17 2022"
31+ run : cmake -S . -B build -G "Ninja" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
2632
27- - name : Build with MSVC
28- run : cmake --build build --config Release
33+ - name : Build with Clang
34+ run : cmake --build build --config Release -- -v
Original file line number Diff line number Diff line change @@ -41,11 +41,6 @@ if(NOT zlib_POPULATED)
4141 FetchContent_Populate (zlib)
4242endif ()
4343
44- file (GLOB ZLIB_LIBS "${zlib_BINARY_DIR} /*.lib" )
45- foreach (lib_file ${ZLIB_LIBS} )
46- message (STATUS "Found zlib lib file: ${lib_file} " )
47- endforeach ()
48-
4944set (ZLIB_LIBRARY "${zlib_BINARY_DIR} /zlib.lib" )
5045set (ZLIB_INCLUDE_DIR "${zlib_SOURCE_DIR} " )
5146
You can’t perform that action at this time.
0 commit comments