Skip to content

Commit 97caa6d

Browse files
committed
Compiles on Mac
1 parent 2dfb80f commit 97caa6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.macos

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ CP_SOURCE=ChunkPLY.cpp
1717

1818
COMPILER ?= gcc
1919
CFLAGS += -fopenmp -Wno-deprecated -std=c++14 -pthread -Wno-invalid-offsetof
20-
LFLAGS += -lgomp -lstdc++ -lpthread
20+
LFLAGS += -lgomp -lstdc++ -lpthread -L/opt/homebrew/lib
2121

2222
CFLAGS_DEBUG = -DDEBUG -g3
2323
LFLAGS_DEBUG =
@@ -30,7 +30,7 @@ LFLAGS_RELEASE = -O3 -g0
3030
SRC = Src/
3131
BIN = Bin/Linux/
3232
#INCLUDE = /usr/include/
33-
INCLUDE = . -I PNG -I JPEG
33+
INCLUDE = . -I/opt/homebrew/include
3434

3535
CC=gcc
3636
CXX=$(COMPILER)

0 commit comments

Comments
 (0)