Skip to content

Commit

Permalink
fixed path
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyan4973 committed Jan 29, 2024
1 parent c768c60 commit f4a4f65
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/solaris.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ jobs:
cmake --version
rm -rf cmakebuild install
mkdir -p cmakebuild install
cd cmakebuild; cmake -Wdev -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-Werror -O0" -DCMAKE_INSTALL_PREFIX=install ../build/cmake
cd cmakebuild; cmake -Wdev -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-Werror -O0" -DCMAKE_INSTALL_PREFIX=install ../build/cmake; cd ..
cmake --build cmakebuild --target install -- -j V=1
2 changes: 1 addition & 1 deletion build/cmake/CMakeModules/AddZstdCompilationFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function(EnableCompilerFlag _flag _C _CXX _LD)
endfunction()

macro(ADD_ZSTD_COMPILATION_FLAGS)
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang" OR MINGW) #Not only UNIX but also WIN32 for MinGW
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang" OR MINGW) # Not only UNIX but also WIN32 for MinGW
# It's possible to select the exact standard used for compilation.
# It's not necessary, but can be employed for specific purposes.
# Note that zstd source code is compatible with both C++98 and above
Expand Down
6 changes: 5 additions & 1 deletion build/cmake/contrib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
# in the COPYING file in the root directory of this source tree).
# ################################################################

project(contrib)
project(contrib
LANGUAGES C # Main library is in C
ASM # And ASM
CXX # pzstd, gen_html
)

add_subdirectory(pzstd)
add_subdirectory(gen_html)

0 comments on commit f4a4f65

Please sign in to comment.