Changeset View
Changeset View
Standalone View
Standalone View
src/lib/marble/CMakeLists.txt
Show First 20 Lines • Show All 451 Lines • ▼ Show 20 Line(s) | 451 | else() | |||
---|---|---|---|---|---|
452 | install(TARGETS marblewidget | 452 | install(TARGETS marblewidget | ||
453 | EXPORT MarbleTargets | 453 | EXPORT MarbleTargets | ||
454 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) | 454 | LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) | ||
455 | endif() | 455 | endif() | ||
456 | 456 | | |||
457 | 457 | | |||
458 | ########### install headers & cmake config files ############### | 458 | ########### install headers & cmake config files ############### | ||
459 | 459 | | |||
460 | if (WIN32 OR APPLE) | 460 | if (APPLE) | ||
461 | # TODO: find how to install & deploy library, headers and config files as bundle for development | 461 | # TODO: find how to install & deploy library, headers and config files as bundle for development | ||
462 | return() | 462 | return() | ||
463 | endif() | 463 | endif() | ||
464 | 464 | | |||
465 | if (MARBLE_NO_WEBKITWIDGETS) | 465 | if (MARBLE_NO_WEBKITWIDGETS) | ||
466 | set(marble_WebKit | 466 | set(marble_WebKit | ||
467 | NullMarbleWebView.h | 467 | NullMarbleWebView.h | ||
468 | NullTinyWebBrowser.h | 468 | NullTinyWebBrowser.h | ||
▲ Show 20 Lines • Show All 181 Lines • ▼ Show 20 Line(s) | |||||
650 | 650 | | |||
651 | install(FILES | 651 | install(FILES | ||
652 | ${CMAKE_CURRENT_BINARY_DIR}/${MARBLE_CMAKECONFIGNAME}Config.cmake | 652 | ${CMAKE_CURRENT_BINARY_DIR}/${MARBLE_CMAKECONFIGNAME}Config.cmake | ||
653 | ${CMAKE_CURRENT_BINARY_DIR}/${MARBLE_CMAKECONFIGNAME}ConfigVersion.cmake | 653 | ${CMAKE_CURRENT_BINARY_DIR}/${MARBLE_CMAKECONFIGNAME}ConfigVersion.cmake | ||
654 | 654 | | |||
655 | DESTINATION ${MARBLE_INSTALL_CMAKECONFIGDIR} | 655 | DESTINATION ${MARBLE_INSTALL_CMAKECONFIGDIR} | ||
656 | ) | 656 | ) | ||
657 | 657 | | |||
658 | if (UNIX) | ||||
658 | install( | 659 | install( | ||
659 | EXPORT MarbleTargets | 660 | EXPORT MarbleTargets | ||
660 | FILE ${MARBLE_CMAKECONFIGNAME}Targets.cmake | 661 | FILE ${MARBLE_CMAKECONFIGNAME}Targets.cmake | ||
661 | DESTINATION ${MARBLE_INSTALL_CMAKECONFIGDIR} | 662 | DESTINATION ${MARBLE_INSTALL_CMAKECONFIGDIR} | ||
662 | ) | 663 | ) | ||
664 | endif() | ||||
663 | 665 | | |||
664 | 666 | | |||
665 | ########### Qt Pri file ############### | 667 | ########### Qt Pri file ############### | ||
666 | 668 | | |||
667 | # Where the pri file is installed is defined by the following rules, with decreasing priority: | 669 | # Where the pri file is installed is defined by the following rules, with decreasing priority: | ||
668 | # * MARBLE_PRI_INSTALL_USE_QT_SYS_PATHS=TRUE: | 670 | # * MARBLE_PRI_INSTALL_USE_QT_SYS_PATHS=TRUE: | ||
669 | # pri file will be installed with the dirs of the Qt installation used | 671 | # pri file will be installed with the dirs of the Qt installation used | ||
670 | # * MARBLE_PRI_INSTALL_DIR=some-relative-or-absolute-path | 672 | # * MARBLE_PRI_INSTALL_DIR=some-relative-or-absolute-path | ||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |