Skip to content

Commit 8409532

Browse files
pboettchAnas Nashif
authored andcommitted
cmake: do not set CMAKE_SKIP_INSTALL_RULES to ON
This CMakeLists.txt is added via add_subdirectory() to the app's CMakeLists.txt. If the app-CMakeLists.txt has install() rules and wants to use them, setting CMAKE_SKIP_INSTALL_RULES to ON breaks the 'make install' call. Not setting this variable does not harm zephyr because zephyr does not use install(). Signed-off-by: Patrick Boettcher <[email protected]>
1 parent 63f2fad commit 8409532

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ enable_language(C CXX ASM)
1717
check_c_compiler_flag("" toolchain_is_ok)
1818
assert(toolchain_is_ok "The toolchain is unable to build a dummy C file. See CMakeError.log.")
1919

20-
# Do not generate make install target.
21-
set(CMAKE_SKIP_INSTALL_RULES ON)
22-
2320
set(CMAKE_EXECUTABLE_SUFFIX .elf)
2421

2522
set(SOC_NAME ${CONFIG_SOC})

0 commit comments

Comments
 (0)