Changeset 627

Show
Ignore:
Timestamp:
08/13/08 13:03:34 (3 months ago)
Author:
weyrick
Message:

don't link llvm into targets linking to rphp-eval

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/rphp/compiler/CMakeLists.txt

    r623 r627  
    3030add_library( rphp-eval SHARED ${EVAL_SRC_FILES} ) 
    3131set_target_properties( rphp-eval 
    32                        PROPERTIES LINK_FLAGS ${LLVM_LD_FLAGS} ) 
     32                       PROPERTIES LINK_FLAGS ${LLVM_LD_FLAGS} 
     33                       # this tells cmake not to link the llvm libs into targets that link to rphp-eval 
     34                       LINK_INTERFACE_LIBRARIES "" ) 
    3335target_link_libraries( rphp-eval rphp-runtime ${ICU_LIBRARIES} ${ICU_I18_LIBRARIES} ${LLVM_LIBRARIES}) 
    3436