File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,6 @@ CHECK_FUNCTION_EXISTS (fopencookie HAVE_FOPENCOOKIE)
276276CHECK_FUNCTION_EXISTS (funopen HAVE_FUNOPEN)
277277TEST_BIG_ENDIAN (WORDS_BIGENDIAN)
278278
279- IF (${CMAKE_MAJOR_VERSION} GREATER 2)
280279INCLUDE (CMakePushCheckState)
281280INCLUDE (CheckCCompilerFlag)
282281MACRO (check_linker_flag FLAG VAR)
@@ -287,10 +286,6 @@ MACRO (check_linker_flag FLAG VAR)
287286ENDMACRO (check_linker_flag)
288287check_linker_flag("-Wl,--as-needed" HAVE_LINKER_AS_NEEDED)
289288check_linker_flag("-Wl,--version-script=${CMAKE_SOURCE_DIR} /src/libsolv.ver" HAVE_LINKER_VERSION_SCRIPT)
290- ELSE (${CMAKE_MAJOR_VERSION} GREATER 2)
291- SET (HAVE_LINKER_AS_NEEDED 1)
292- SET (HAVE_LINKER_VERSION_SCRIPT 1)
293- ENDIF (${CMAKE_MAJOR_VERSION} GREATER 2)
294289
295290# should create config.h with #cmakedefine instead...
296291FOREACH (VAR HAVE_STRCHRNUL HAVE_FOPENCOOKIE HAVE_FUNOPEN WORDS_BIGENDIAN
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ Supported repository formats:
3939Build instructions
4040==================
4141
42- Requires: cmake 2.8 .5 or later
42+ Requires: cmake 3 .5 or later
4343
4444 mkdir build
4545 cd build
You can’t perform that action at this time.
0 commit comments