The branch, master has been updated
via e18b700743217e8c505e97762e0f66a4f6a90425 (commit)
from 06c863da145d3d0e43cb32a052ddd87b1590c5e3 (commit)
- Log -----------------------------------------------------------------
commit e18b700743217e8c505e97762e0f66a4f6a90425
Author: Maciej Grela <maciej.grela@xxxxxxxxx>
Date: Wed Jun 20 23:08:50 2012 +0200
Fix libftdi.pc file generation when building with -DDOCUMENTATION=OFF
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4c43a48..07f8bb9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,9 @@
project(libftdi)
set(MAJOR_VERSION 1)
set(MINOR_VERSION 0)
+set(PACKAGE libftdi)
set(VERSION_STRING ${MAJOR_VERSION}.${MINOR_VERSION})
+set(VERSION ${VERSION_STRING})
SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}")
# CMake
@@ -116,12 +118,11 @@ add_custom_target(dist
option(DOCUMENTATION "Generate API documentation with Doxygen" ON)
+
find_package(Doxygen)
if(DOCUMENTATION AND DOXYGEN_FOUND)
# Set variables
- set(PACKAGE libftdi)
- set(VERSION ${VERSION_STRING})
set(top_srcdir ${CMAKE_SOURCE_DIR})
# Find doxy config
hooks/post-receive
--
A library to talk to FTDI chips
--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|