Skip to content

Commit

Permalink
Declare the CMake project before including modules
Browse files Browse the repository at this point in the history
  • Loading branch information
kcat committed Mar 22, 2022
1 parent fe2978f commit 75f88e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 3.0.2)

project(DSOAL C)

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")

include(CheckCCompilerFlag)
Expand All @@ -8,8 +10,6 @@ include(CheckTypeSize)
include(CheckIncludeFile)
include(GNUInstallDirs)

project(DSOAL C)

set(VERSION 0.9)

IF(NOT CMAKE_BUILD_TYPE)
Expand Down

0 comments on commit 75f88e1

Please sign in to comment.