File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.15.0)
22
3+ set (CMAKE_C_STANDARD 11)
4+ set (CMAKE_C_STANDARD_REQUIRED ON )
5+ set (CMAKE_C_EXTENSIONS OFF )
6+
37if (WIN32 )
48 if (CMAKE_GENERATOR MATCHES "Visual Studio" )
59 if (NOT DEFINED CMAKE_GENERATOR_TOOLSET)
@@ -51,8 +55,6 @@ target_link_libraries(blosc2_ext PRIVATE Python::NumPy)
5155
5256# Add include directory for miniexpr.h and others
5357target_include_directories (blosc2_ext PRIVATE "${CMAKE_CURRENT_SOURCE_DIR} /src/blosc2" )
54- # Enforce a C standard that bundled deps rely on (e.g. OpenZL requires C11).
55- target_compile_features (blosc2_ext PRIVATE c_std_11)
5658if (WIN32 AND CMAKE_C_COMPILER_ID STREQUAL "Clang" )
5759 execute_process (
5860 COMMAND "${CMAKE_C_COMPILER} " -print-resource -dir
You can’t perform that action at this time.
0 commit comments