summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xCMakeLists.txt1
-rw-r--r--cmake/opentrack-boilerplate.cmake2
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 139cb001..ee5c6c1e 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,6 @@ include(opentrack-build)
project(opentrack C CXX)
cmake_minimum_required(VERSION 2.8.11)
-include(CMakeParseArguments)
include(opentrack-word-size)
include(opentrack-hier)
include(opentrack-policy)
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)