We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b56dad commit a8506b3Copy full SHA for a8506b3
CMakeLists.txt
@@ -1,6 +1,8 @@
1
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
2
project(OpenHantek)
3
4
+find_package(Git)
5
+
6
if (GIT_EXECUTABLE AND EXISTS "${CMAKE_SOURCE_DIR}/.git")
7
# show modified files
8
execute_process(
@@ -31,8 +33,6 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake/")
31
33
32
34
INCLUDE_DIRECTORIES(".")
35
-find_package(Git)
-
36
add_compile_options(-Wall -Wextra -pedantic)
37
38
# Silence nasty warnings "parameter passing for argument of type ... changed in GCC 7.1"
0 commit comments