Skip to content

Commit

Permalink
Merge pull request #110 from Fat-Zer/patch-1
Browse files Browse the repository at this point in the history
cmake: put cmake_minimum_required before project()
  • Loading branch information
hugeping authored Nov 9, 2024
2 parents da6cbf2 + b4e0ec0 commit b3bfabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)
PROJECT(instead)

CMAKE_MINIMUM_REQUIRED(VERSION 2.6.0)
SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

IF("${PROJECT_SOURCE_DIR}" STREQUAL "${PROJECT_BINARY_DIR}")
Expand Down

0 comments on commit b3bfabf

Please sign in to comment.