Skip to content

Commit

Permalink
[build] Do not install examples and testing apps
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Jun 2, 2022
1 parent 73e2623 commit dfb9c39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ if (ENABLE_APPS)
# For testing applications, every application has its exclusive
# list of source files in its own Manifest file.
MafReadDir(testing ${name}.maf SOURCES SOURCES_app)
srt_add_program(${name} ${SOURCES_app})
srt_add_program_dont_install(${name} ${SOURCES_app})
endmacro()

srt_add_testprogram(utility-test)
Expand Down Expand Up @@ -1249,7 +1249,7 @@ if (ENABLE_EXAMPLES)
# No examples should need C++11
macro(srt_add_example mainsrc)
get_filename_component(name ${mainsrc} NAME_WE)
srt_add_program(${name} examples/${mainsrc} ${ARGN})
srt_add_program_dont_install(${name} examples/${mainsrc} ${ARGN})
target_link_libraries(${name} ${srt_link_library} ${DEPENDS_srt})
endmacro()

Expand Down

0 comments on commit dfb9c39

Please sign in to comment.