From 75f88e1bd9231d128ff38d99339680a86c45ccfb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 22 Mar 2022 15:16:38 -0700 Subject: [PATCH] Declare the CMake project before including modules --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4142e7c..f5f9b72 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.0.2) +project(DSOAL C) + set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") include(CheckCCompilerFlag) @@ -8,8 +10,6 @@ include(CheckTypeSize) include(CheckIncludeFile) include(GNUInstallDirs) -project(DSOAL C) - set(VERSION 0.9) IF(NOT CMAKE_BUILD_TYPE)