From: APTX Date: Thu, 23 Nov 2017 16:37:30 +0000 (+0900) Subject: Try to install pdb files only on windows X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=b8e3ab260222f8705e7661b5f35b5b2ea021680b;p=aniplayer.git Try to install pdb files only on windows --- diff --git a/backendplugins/backend_mpv/CMakeLists.txt b/backendplugins/backend_mpv/CMakeLists.txt index d338026..5066733 100644 --- a/backendplugins/backend_mpv/CMakeLists.txt +++ b/backendplugins/backend_mpv/CMakeLists.txt @@ -50,6 +50,8 @@ install(TARGETS backend_mpv LIBRARY DESTINATION ${INSTALL_DESTINATION} ARCHIVE DESTINATION ${INSTALL_DESTINATION} ) -install(FILES $ - DESTINATION ${INSTALL_DESTINATION} OPTIONAL -) +if(WIN32) + install(FILES $ + DESTINATION ${INSTALL_DESTINATION} OPTIONAL + ) +endif() diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index 49cc671..7326b90 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -89,4 +89,6 @@ install(TARGETS core ARCHIVE DESTINATION lib${LIB_SUFFIX} RUNTIME DESTINATION bin ) -install(FILES $ DESTINATION bin OPTIONAL) +if(WIN32) + install(FILES $ DESTINATION bin OPTIONAL) +endif() diff --git a/featureplugins/feature_annotations/CMakeLists.txt b/featureplugins/feature_annotations/CMakeLists.txt index 7164c38..a9a098a 100644 --- a/featureplugins/feature_annotations/CMakeLists.txt +++ b/featureplugins/feature_annotations/CMakeLists.txt @@ -49,6 +49,8 @@ install(TARGETS feature_annotations LIBRARY DESTINATION ${INSTALL_DESTINATION} ARCHIVE DESTINATION ${INSTALL_DESTINATION} ) -install(FILES $ - DESTINATION ${INSTALL_DESTINATION} OPTIONAL -) +if(WIN32) + install(FILES $ + DESTINATION ${INSTALL_DESTINATION} OPTIONAL + ) +endif() diff --git a/featureplugins/feature_localmylist/CMakeLists.txt b/featureplugins/feature_localmylist/CMakeLists.txt index ca92f1d..d706ab8 100644 --- a/featureplugins/feature_localmylist/CMakeLists.txt +++ b/featureplugins/feature_localmylist/CMakeLists.txt @@ -48,6 +48,8 @@ install(TARGETS feature_localmylist LIBRARY DESTINATION ${INSTALL_DESTINATION} ARCHIVE DESTINATION ${INSTALL_DESTINATION} ) -install(FILES $ - DESTINATION ${INSTALL_DESTINATION} OPTIONAL -) +if(WIN32) + install(FILES $ + DESTINATION ${INSTALL_DESTINATION} OPTIONAL + ) +endif() diff --git a/uiplugins/ui_desktop_qml_default/CMakeLists.txt b/uiplugins/ui_desktop_qml_default/CMakeLists.txt index 6019414..e89fe7b 100644 --- a/uiplugins/ui_desktop_qml_default/CMakeLists.txt +++ b/uiplugins/ui_desktop_qml_default/CMakeLists.txt @@ -54,6 +54,8 @@ install(TARGETS ui_desktop_qml_default LIBRARY DESTINATION ${INSTALL_DESTINATION} ARCHIVE DESTINATION ${INSTALL_DESTINATION} ) -install(FILES $ - DESTINATION ${INSTALL_DESTINATION} OPTIONAL -) +if(WIN32) + install(FILES $ + DESTINATION ${INSTALL_DESTINATION} OPTIONAL + ) +endif()