[AD] new patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The new path for fix library link. Where in my machine not compiling.
From 806e91fd9bd360d55fa8daaefe8345250b050e32 Mon Sep 17 00:00:00 2001
From: RmBeer <rmbeer2@xxxxxxxxxx>
Date: Mon, 23 May 2016 22:38:36 -0300
Subject: [PATCH] Fix library and add readme

---
 README.txt           | 3 +++
 tests/CMakeLists.txt | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/README.txt b/README.txt
index 32dfe53..a63d9e0 100644
--- a/README.txt
+++ b/README.txt
@@ -131,6 +131,9 @@ These are the dependencies required for the addons:
 - PhysicsFS, provides access to archives, e.g. .zip files.
   Home page: <http://icculus.org/physfs/>
 
+- ZLib, for compress files with PhysicsFS.
+  Home page: <http://www.zlib.net/>
+
 On Windows it may be a pain to place all these libraries such that they can be
 found.  Please see the README_cmake.txt section on the "deps subdirectory"
 when the time comes.
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 0e4b6ef..8317848 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -34,6 +34,8 @@ if(WANT_MONOLITH)
        test_driver
        LIBS
        ${ALLEGRO_MONOLITH_LINK_WITH}
+       -lbz2
+       -lfreetype
        )
 else(WANT_MONOLITH)
    add_our_executable(
@@ -47,6 +49,8 @@ else(WANT_MONOLITH)
        ${TTF_LINK_WITH}
        ${PRIMITIVES_LINK_WITH}
        ${SHADER_LINK_WITH}
+       -lbz2
+       -lfreetype
        )
 endif(WANT_MONOLITH)
 
-- 
2.8.2



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/