We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f37457 commit 7b527c1Copy full SHA for 7b527c1
CMakeLists.txt
@@ -103,10 +103,6 @@ include(DefaultCFlags)
103
# Compiler / linker flags
104
#
105
106
-if(DEPRECATE_HARD)
107
- add_definitions(-DGIT_DEPRECATE_HARD)
108
-endif()
109
-
110
if(NOT CMAKE_CONFIGURATION_TYPES)
111
# Build Debug by default
112
if(NOT CMAKE_BUILD_TYPE)
src/CMakeLists.txt
@@ -2,6 +2,10 @@ add_library(git2internal OBJECT)
2
set_target_properties(git2internal PROPERTIES C_STANDARD 90)
3
4
5
+if(DEPRECATE_HARD)
6
+ add_definitions(-DGIT_DEPRECATE_HARD)
7
+endif()
8
+
9
if(DEBUG_POOL)
10
set(GIT_DEBUG_POOL 1)
11
endif()
0 commit comments