summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-07 11:41:10 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-07 11:41:10 +0200
commit3e41fcf185f26a55af539278bd4fbd461a699f02 (patch)
treed0440334a0de94c2da34aa1bed0775de2d5dec63 /cmake
parent74034c5bc3447cf628d13ca692beec7ffc0ce4cd (diff)
cmake: include keyword parser at call site only
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake2
1 files changed, 2 insertions, 0 deletions
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)