Skip to content

Commit 37df09e

Browse files
committed
cmake: GNUInstallDirs for Debian compatibility
On Debian, the packaging helpers and infrastructure rely on cmake projects including this CMake module -- otherwise various features such as cross-compiling won't work correctly.
1 parent 005f345 commit 37df09e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
cmake_minimum_required(VERSION 2.8.9)
22
project(libyang C)
33

4+
include(GNUInstallDirs)
5+
46
set(LIBYANG_DESCRIPTION "libyang is YANG data modelling language parser and toolkit written (and providing API) in C.")
57

68
# set version

0 commit comments

Comments
 (0)