File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,16 @@ endif()
18
18
find_package (Git )
19
19
20
20
if (Git_FOUND )
21
- execute_process (
22
- COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD
23
- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
24
- OUTPUT_VARIABLE GIT_VERSION
25
- OUTPUT_STRIP_TRAILING_WHITESPACE
26
- )
27
-
28
- if (GIT_VERSION )
29
- add_definitions (-DCOMPUTED_VERSION_SUFFIX= "Built from git-${GIT_VERSION} " )
30
- endif ()
21
+ execute_process (
22
+ COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD
23
+ WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
24
+ OUTPUT_VARIABLE GIT_VERSION
25
+ OUTPUT_STRIP_TRAILING_WHITESPACE
26
+ )
27
+
28
+ if (GIT_VERSION )
29
+ add_definitions (-DCOMPUTED_VERSION_SUFFIX= "Built from git-${GIT_VERSION} " )
30
+ endif ()
31
31
endif ()
32
32
33
33
macro (set_cxx_flag FLAG )
@@ -122,15 +122,15 @@ else()
122
122
endif ()
123
123
124
124
if (BUILD_SHARED_LIBCRN OR BUILD_STATIC_LIBCRN OR BUILD_CRUNCH )
125
- add_subdirectory (crnlib crnlib )
125
+ add_subdirectory (crnlib crnlib )
126
126
endif ()
127
127
128
128
if (BUILD_CRUNCH )
129
- add_subdirectory (crunch _crunch )
129
+ add_subdirectory (crunch _crunch )
130
130
endif ()
131
131
132
- if (BUILD_EXAMPLES )
133
- add_subdirectory (example1 _example1 )
134
- add_subdirectory (example2 _example2 )
135
- add_subdirectory (example3 _example3 )
132
+ if (BUILD_EXAMPLES )
133
+ add_subdirectory (example1 _example1 )
134
+ add_subdirectory (example2 _example2 )
135
+ add_subdirectory (example3 _example3 )
136
136
endif ()
You can’t perform that action at this time.
0 commit comments