mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-07 21:55:04 +02:00
Also rationalize seds into diff that works with cmake eclass Closes: https://bugs.gentoo.org/951901 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/41237 Signed-off-by: Sam James <sam@gentoo.org>
15 lines
397 B
Diff
15 lines
397 B
Diff
Prepare build for CMake 4.
|
|
Fold and rationalize seds
|
|
https://bugs.gentoo.org/951901
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1,6 +1,7 @@
|
|
-cmake_minimum_required(VERSION 2.8)
|
|
+project(i2bits)
|
|
+cmake_minimum_required(VERSION 3.5)
|
|
#set(CMAKE_VERBOSE_MAKEFILE ON)
|
|
-set(CMAKE_C_FLAGS "-std=c99 -Wall -Wextra -pedantic")
|
|
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
|
|
|
add_executable(i2bits i2bits.c)
|
|
|