From 3e41fcf185f26a55af539278bd4fbd461a699f02 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 7 Jul 2016 11:41:10 +0200 Subject: cmake: include keyword parser at call site only --- cmake/opentrack-boilerplate.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmake') diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake index 9a979567..ecc3128d 100644 --- a/cmake/opentrack-boilerplate.cmake +++ b/cmake/opentrack-boilerplate.cmake @@ -50,6 +50,8 @@ function(opentrack_compat target) endif() endfunction() +include(CMakeParseArguments) + function(opentrack_boilerplate__ n files_ no-library_ static_ no-compat_ compile_ link_ stage2_) if((NOT no-library_) AND (NOT stage2_)) set(link-mode SHARED) -- cgit v1.2.3