From 7e78f35505151c03688e988d2108604b208329db Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 11 Jul 2010 12:22:30 +0200 Subject: Generate external Vapi file --- cmake/vala/ValaPrecompile.cmake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmake') 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) -- cgit v1.2.3