Skip to content

Commit

Permalink
Fix linux
Browse files Browse the repository at this point in the history
  • Loading branch information
martaiborra committed Nov 27, 2023
1 parent 57c1d4b commit c6b4ee4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ project(blosc2_grok LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 20)

# Needed when working with cibuildwheel and MacOS
# set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.15)

# Debug build
# set(CMAKE_C_FLAGS_DEBUG_INIT "-O0 -g")
Expand Down
8 changes: 4 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
set(GRK_BUILD_LIBPNG OFF)
set(GRK_BUILD_JPEG OFF)
set(GRK_BUILD_CORE_EXAMPLES OFF)
if (UNIX AND NOT APPLE)
# if (UNIX AND NOT APPLE)
# For some reason, Linux is not happy with the below flags
set(GRK_BUILD_LIBTIFF OFF)
set(GRK_BUILD_LCMS2 OFF)
endif()
# set(GRK_BUILD_LIBTIFF OFF)
# set(GRK_BUILD_LCMS2 OFF)
#endif()

# Build statically
set(BUILD_SHARED_LIBS OFF)
Expand Down
1 change: 1 addition & 0 deletions src/utils.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <string>
#include <vector>
#include <cstring>

#include "utils.h"

Expand Down

0 comments on commit c6b4ee4

Please sign in to comment.