diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-28 01:03:23 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-07-28 10:15:33 +0200 |
commit | 3910794245fd3d38081de4bfcf37fe7f38fc1761 (patch) | |
tree | 617f60856ef2729ae725714ad184f8be182e8335 | |
parent | eff97af44b144ee09537d5700b7c993a02c15271 (diff) |
add lpsolve55 to external libs
-rw-r--r-- | RepositoryExternal.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 795e553cf..0eb3f61c7 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -437,6 +437,30 @@ endef endif # SYSTEM_OPENSSL + +ifeq ($(SYSTEM_LPSOLVE),YES) + +define gb_LinkTarget__use_lpsolve55 +$(call gb_LinkTarget_add_libs,$(1),-llpsolve55) + +endef + +else # !SYSTEM_LPSOLVE + +$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \ + lpsolve55 \ +)) + +define gb_LinkTarget__use_lpsolve55 +$(call gb_LinkTarget_add_linked_libs,$(1),\ + lpsolve55 \ +) + +endef + +endif # SYSTEM_LPSOLVE + + define gb_LinkTarget__use_gtk $(call gb_LinkTarget_set_include,$(1),\ $$(INCLUDE) \ |