git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
06c863d
)
Fix libftdi.pc file generation when building with -DDOCUMENTATION=OFF
author
Maciej Grela
<maciej.grela@gmail.com>
Wed, 20 Jun 2012 21:08:50 +0000 (23:08 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Thu, 21 Jun 2012 15:09:53 +0000 (17:09 +0200)
CMakeLists.txt
patch
|
blob
|
blame
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
4c43a48
..
07f8bb9
100644
(file)
--- 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