File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 11PROJECT (createrepo_c C)
2- CMAKE_MINIMUM_REQUIRED (VERSION 2.6 )
2+ CMAKE_MINIMUM_REQUIRED (VERSION 2.8 )
33
44set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99" )
55set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS} -ggdb -g -Wall -Wextra -Og" )
Original file line number Diff line number Diff line change @@ -31,11 +31,7 @@ set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fno-strict-aliasing")
3131set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fno-strict-aliasing" )
3232
3333IF (NOT SKBUILD)
34- IF (${CMAKE_VERSION} VERSION_LESS "2.8.0" )
35- CONFIGURE_FILE (__init__.py "src/python/createrepo_c/__init__.py" COPYONLY )
36- ELSE ()
37- FILE (COPY __init__.py DESTINATION createrepo_c)
38- ENDIF ()
34+ FILE (COPY __init__.py DESTINATION createrepo_c)
3935ENDIF ()
4036
4137SET (createrepo_cmodule_SRCS
You can’t perform that action at this time.
0 commit comments