From 4e9171e6f6f3b09d2faa50f790d2abff51082ea7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 19 Jul 2009 19:36:56 +0000 Subject: binreloc wasnt working with cmake. --- extern/binreloc/CMakeLists.txt | 4 ++-- extern/binreloc/Makefile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'extern') diff --git a/extern/binreloc/CMakeLists.txt b/extern/binreloc/CMakeLists.txt index 78dc65d8112..7bdc93fc978 100644 --- a/extern/binreloc/CMakeLists.txt +++ b/extern/binreloc/CMakeLists.txt @@ -18,8 +18,8 @@ # All rights reserved. # -SET(INC ./include ${WINTAB_INC}) -ADD_DEFINITIONS(-DWITH_BINRELOC) +SET(INC ./include ) +ADD_DEFINITIONS(-DENABLE_BINRELOC) FILE(GLOB SRC *.c) BLENDERLIB(extern_binreloc "${SRC}" "${INC}") diff --git a/extern/binreloc/Makefile b/extern/binreloc/Makefile index d303ab3afcc..21343ab4803 100644 --- a/extern/binreloc/Makefile +++ b/extern/binreloc/Makefile @@ -27,7 +27,7 @@ DIR = $(OCGDIR)/extern/$(LIBNAME) include nan_definitions.mk -CPPFLAGS += -I./include +CPPFLAGS += -DENABLE_BINRELOC -I./include include nan_compile.mk -- cgit v1.2.3