nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1diff --git a/CMakeLists.txt b/CMakeLists.txt
2index 58a5b45..b41e6a3 100644
3--- a/CMakeLists.txt
4+++ b/CMakeLists.txt
5@@ -1,3 +1,5 @@
6+cmake_minimum_required(VERSION 3.10)
7+
8 PROJECT(pslib C)
9 option(ENABLE_BMP "Build with BMP support" ON)
10
11@@ -73,7 +75,6 @@ INCLUDE(CheckFunctionExists)
12 INCLUDE(TestBigEndian)
13 test_big_endian(WORDS_BIGENDIAN)
14
15-SUBDIRS( src )
16 SET(SOURCES
17 src/pslib.c
18 src/ps_memory.c