From e35434ecb9e1a93b63c50b0f63718e3905752396 Mon Sep 17 00:00:00 2001 From: Marc Lagrange Date: Thu, 16 Oct 2008 20:48:48 +0200 Subject: [PATCH] CMake: Add LDFLAGS, wmfs now build on FreeBSD, update manpage and README. Signed-off-by: Marc Lagrange --- CMakeLists.txt | 2 ++ README | 2 +- wmfs.1.txt.in | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b3cf8f..d8cccf2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,6 +42,8 @@ set(VERSION "0.1rc2 (Brain Damage)") # CFLAGS set(CFLAGS "-g -Wall") set(CMAKE_C_FLAGS ${CFLAGS}) +set(LDFLAGS "-L /usr/local/lib") +set(CMAKE_SHARED_LINKER_FLAGS ${LDFLAGS}) find_package(Freetype) if(FREETYPE_FOUND) include_directories(${FREETYPE_INCLUDE_DIRS}) diff --git a/README b/README index 1dfa418..8d64288 100644 --- a/README +++ b/README @@ -20,7 +20,7 @@ REQUIREMENT : OS : · GNU/Linux : Supported. - · FreeBSD : In the way. + · FreeBSD : Build. Test in the way. INSTALL : · mkdir build diff --git a/wmfs.1.txt.in b/wmfs.1.txt.in index 96aaf7a..2139179 100644 --- a/wmfs.1.txt.in +++ b/wmfs.1.txt.in @@ -90,7 +90,6 @@ WMFS is configured by '$HOME/.config/wmfs/wmfsrc'. BUGS ---- WMFS isn't stable for now. So it certainly contains some bugs. -WMFS doesn't compile in FreeBSD. AUTHORS -------