~midori/midori/trunk

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: André Stösel
  • Date: 2013-09-28 14:13:22 UTC
  • mfrom: (6419 midori)
  • mto: This revision was merged to the branch mainline in revision 6427.
  • Revision ID: andre@stoesel.de-20130928141322-8g2nadq5gnm30gkh
merge lp:midori

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
add_definitions("-DDOCDIR=\"${CMAKE_INSTALL_FULL_DOCDIR}\"")
39
39
 
40
40
add_definitions("-DENABLE_NLS=1")
41
 
add_definitions("-DLOCALEDIR=\"${CMAKE_INSTALL_LOCALEDIR}\"")
 
41
add_definitions("-DLOCALEDIR=\"${CMAKE_INSTALL_FULL_LOCALEDIR}\"")
42
42
 
43
43
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/config.h" "/* # generated file (stub) */")
44
44
add_definitions("-DHAVE_CONFIG_H=1")
134
134
option(HALF_BRO_INCOM_WEBKIT2 "Serve as a guniea pig" OFF)
135
135
option(USE_ZEITGEIST "Zeitgeist history integration" ON)
136
136
option(USE_GRANITE "Fancy notebook and pop-overs" OFF)
 
137
option(USE_APIDOCS "API documentation" OFF)
137
138
 
138
139
if (USE_GRANITE)
139
140
    if (NOT USE_GTK3 AND NOT HALF_BRO_INCOM_WEBKIT2)
236
237
add_subdirectory (po)
237
238
add_subdirectory (icons)
238
239
add_subdirectory (data)
 
240
add_subdirectory (config)
239
241
enable_testing()
240
242
add_subdirectory (tests)
241
243
add_subdirectory (extensions)
 
244
 
 
245
if (USE_APIDOCS)
 
246
    add_subdirectory (docs/api)
 
247
endif ()