From 6b1979d36745aabd9618179992f0974814b5ce52 Mon Sep 17 00:00:00 2001 From: Marc Lagrange Date: Fri, 17 Oct 2008 19:03:04 +0200 Subject: [PATCH] CMake: remove useless comments. Signed-off-by: Marc Lagrange --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d8cccf2..c293b07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,11 +39,13 @@ set(wmfs_src add_executable(wmfs ${wmfs_src}) # Set the version - NOT USED AT THE MOMENT set(VERSION "0.1rc2 (Brain Damage)") -# CFLAGS +# FLAGS set(CFLAGS "-g -Wall") set(CMAKE_C_FLAGS ${CFLAGS}) set(LDFLAGS "-L /usr/local/lib") set(CMAKE_SHARED_LINKER_FLAGS ${LDFLAGS}) + +# Package find find_package(Freetype) if(FREETYPE_FOUND) include_directories(${FREETYPE_INCLUDE_DIRS}) @@ -57,6 +59,7 @@ if(X11_FOUND) else (X11_FOUND) message(FATAL_ERROR "Could not find X11") endif (X11_FOUND) + # Link Libraries set(LIBRARIES_TO_LINK ${FREETYPE_LIBRARIES} @@ -74,7 +77,6 @@ message("Linking with theses libraries : ${LIBRARIES_TO_LINK}") # Includes include(FindPkgConfig) -#include(CPack) # need to configure it for packaging # Use pkgconfig to get required libraries pkg_check_modules(wmfs_required x11