Mercurial > projects > ldc
changeset 883:b52d5de7783f
GC defines and linkage changes.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Thu, 08 Jan 2009 18:20:02 +0100 |
parents | 6cffbfff0363 |
children | a166ba5bdf2d |
files | CMakeLists.txt |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Thu Jan 08 16:49:04 2009 +0100 +++ b/CMakeLists.txt Thu Jan 08 18:20:02 2009 +0100 @@ -143,7 +143,7 @@ endif(UNIX) if(USE_BOEHM_GC) - add_definitions(-DUSE_BOEHM_GC) + add_definitions(-DREDIRECT_MALLOC=GC_malloc -DIGNORE_FREE) endif(USE_BOEHM_GC) if(GENERATE_OFFTI) @@ -188,7 +188,7 @@ endif(WIN32) if(USE_BOEHM_GC) - target_link_libraries(${LDC_EXE} gc) + target_link_libraries(${LDC_EXE} ${PROJECT_SOURCE_DIR}/libgc.a) endif(USE_BOEHM_GC) get_target_property(LDC_LOC ${LDC_EXE} LOCATION)