summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-10-17 00:15:20 +0200
committerAki <please@ignore.pl>2022-10-17 00:15:20 +0200
commit8cf8ef6178659ee3aa59d16fcff4012f2df6f425 (patch)
tree4f5f8bad487f14f3cf1a570c6f188166e83e8120 /contrib
parent49bc1ee46dcbe1b9113959d04f21b81647112a36 (diff)
downloadstarshatter-8cf8ef6178659ee3aa59d16fcff4012f2df6f425.zip
starshatter-8cf8ef6178659ee3aa59d16fcff4012f2df6f425.tar.gz
starshatter-8cf8ef6178659ee3aa59d16fcff4012f2df6f425.tar.bz2
Naively added components to install targets
Diffstat (limited to 'contrib')
-rw-r--r--contrib/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt
index 6a1a89b..7a8371c 100644
--- a/contrib/CMakeLists.txt
+++ b/contrib/CMakeLists.txt
@@ -6,13 +6,18 @@ add_subdirectory(zlib)
install(
TARGETS png15 Opcode zlib
RUNTIME
+ COMPONENT Runtime
DESTINATION ${CMAKE_INSTALL_PREFIX}
)
if(NOT MSVC)
foreach(LIB IN ITEMS "libstdc++-6.dll" "libwinpthread-1.dll" "libgcc_s_dw2-1.dll")
find_file(LIBRARY_${LIB} ${LIB} PATHS ${CMAKE_FIND_ROOT_PATH}/bin)
if(LIBRARY_${LIB})
- install(PROGRAMS ${LIBRARY_${LIB}} DESTINATION ${CMAKE_INSTALL_PREFIX})
+ install(
+ PROGRAMS ${LIBRARY_${LIB}}
+ COMPONENT Runtime
+ DESTINATION ${CMAKE_INSTALL_PREFIX}
+ )
endif()
endforeach()
endif()