summaryrefslogtreecommitdiffstats
path: root/cmake/vala
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-07-11 12:22:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-07-11 12:22:30 +0200
commit7e78f35505151c03688e988d2108604b208329db (patch)
tree4979da0364b943cb1522e4b7ccdfbe5d756b7aa2 /cmake/vala
parentefdd8b44b2fcc7fcf4f7ba37ac4045793be8fecd (diff)
downloadeva-7e78f35505151c03688e988d2108604b208329db.tar
eva-7e78f35505151c03688e988d2108604b208329db.zip
Generate external Vapi file
Diffstat (limited to 'cmake/vala')
-rw-r--r--cmake/vala/ValaPrecompile.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmake/vala/ValaPrecompile.cmake b/cmake/vala/ValaPrecompile.cmake
index f69a096..20874e2 100644
--- a/cmake/vala/ValaPrecompile.cmake
+++ b/cmake/vala/ValaPrecompile.cmake
@@ -120,9 +120,8 @@ macro(vala_precompile output)
set(vapi_arguments "")
if(ARGS_GENERATE_VAPI)
list(APPEND out_files "${CMAKE_CURRENT_BINARY_DIR}/${ARGS_GENERATE_VAPI}.vapi")
- set(vapi_arguments "--internal-vapi=${ARGS_GENERATE_VAPI}.vapi")
+ set(vapi_arguments "--vapi=${ARGS_GENERATE_VAPI}.vapi")
- # Header and internal header is needed to generate internal vapi
if (NOT ARGS_GENERATE_HEADER)
set(ARGS_GENERATE_HEADER ${ARGS_GENERATE_VAPI})
endif(NOT ARGS_GENERATE_HEADER)