File tree Expand file tree Collapse file tree 6 files changed +18
-8
lines changed Expand file tree Collapse file tree 6 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.10 )
2
2
3
+ include (GNUInstallDirs )
4
+
3
5
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -pedantic" )
4
6
5
7
#set project name
@@ -8,5 +10,5 @@ project(dtmerge)
8
10
#add executables
9
11
add_executable (dtmerge dtmerge.c dtoverlay.c )
10
12
target_link_libraries (dtmerge fdt )
11
- install (TARGETS dtmerge RUNTIME DESTINATION bin )
12
- install (FILES dtmerge.1 DESTINATION man /man1 )
13
+ install (TARGETS dtmerge RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
14
+ install (FILES dtmerge.1 DESTINATION ${CMAKE_INSTALL_MANDIR} /man1 )
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.10 )
2
2
3
+ include (GNUInstallDirs )
4
+
3
5
#set project name
4
6
project (otpset )
5
7
6
8
#add executables
7
- install (PROGRAMS otpset DESTINATION bin )
9
+ install (PROGRAMS otpset DESTINATION ${CMAKE_INSTALL_BINDIR} )
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.10 )
2
2
3
+ include (GNUInstallDirs )
4
+
3
5
#set project name
4
6
project (overlaycheck )
5
7
6
8
#add executables
7
- install (PROGRAMS overlaycheck DESTINATION bin )
8
- install (FILES overlaycheck_exclusions.txt DESTINATION bin )
9
+ install (PROGRAMS overlaycheck DESTINATION ${CMAKE_INSTALL_BINDIR} )
10
+ install (FILES overlaycheck_exclusions.txt DESTINATION ${CMAKE_INSTALL_BINDIR} )
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.10 )
2
2
3
+ include (GNUInstallDirs )
4
+
3
5
#set project name
4
6
project (ovmerge )
5
7
6
8
#add executables
7
- install (PROGRAMS ovmerge DESTINATION bin )
9
+ install (PROGRAMS ovmerge DESTINATION ${CMAKE_INSTALL_BINDIR} )
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.10 )
2
2
3
+ include (GNUInstallDirs )
4
+
3
5
#set project name
4
6
project (raspinfo )
5
7
6
8
#add executables
7
- install (PROGRAMS raspinfo DESTINATION bin )
9
+ install (PROGRAMS raspinfo DESTINATION ${CMAKE_INSTALL_BINDIR} )
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ project(vclog)
7
7
8
8
#add executables
9
9
add_executable (vclog vcdbg.c )
10
- install (TARGETS vclog RUNTIME DESTINATION bin )
10
+ install (TARGETS vclog RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} )
You can’t perform that action at this time.
0 commit comments