diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-04-21 23:33:00 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-04-21 23:33:00 +0200 |
commit | 9d724e0fe4bfb7b7940f3f0c9719affd22a18722 (patch) | |
tree | c73e9566e134d2b78e6f1b8bce3c32159b17675f /dependencies.cmake.in | |
parent | a9dfe6d7ec949954b07facff71ee6023e0ced9ee (diff) | |
parent | a00fb1e8da505768b491e5f4d6266784fb1a27c9 (diff) | |
download | MultiMC-9d724e0fe4bfb7b7940f3f0c9719affd22a18722.tar MultiMC-9d724e0fe4bfb7b7940f3f0c9719affd22a18722.tar.gz MultiMC-9d724e0fe4bfb7b7940f3f0c9719affd22a18722.tar.lz MultiMC-9d724e0fe4bfb7b7940f3f0c9719affd22a18722.tar.xz MultiMC-9d724e0fe4bfb7b7940f3f0c9719affd22a18722.zip |
Merge remote-tracking branch 'origin/feature_cmake_style' into develop
Conflicts:
CMakeLists.txt
Diffstat (limited to 'dependencies.cmake.in')
-rw-r--r-- | dependencies.cmake.in | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/dependencies.cmake.in b/dependencies.cmake.in deleted file mode 100644 index 9d4d1f63..00000000 --- a/dependencies.cmake.in +++ /dev/null @@ -1,33 +0,0 @@ -cmake_minimum_required(VERSION 2.8.9) - -message(STATUS "Running install script...") - -SET(Qt5_DIR @Qt5_DIR@) - -IF(WIN32) -SET(LIB_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) -ELSE() -SET(LIB_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}/lib) -ENDIF() - -INCLUDE(GetPrerequisites) -GET_PREREQUISITES(@BINARY_LOCATION@ MULTIMC_PREREQS 1 1 "" "") - -message(STATUS "Prerequisites: ${MULTIMC_PREREQS}") - -FOREACH(PREREQ ${MULTIMC_PREREQS}) - GET_FILENAME_COMPONENT(PREREQ_NAME "${PREREQ}" NAME) - GET_FILENAME_COMPONENT(PREREQ_ACTUAL "${PREREQ}" REALPATH) - IF(WIN32) - SET(PREREQ_ACTUAL "${Qt5_DIR}/bin/${PREREQ}") - ENDIF() - - message(STATUS "Adding install prerequisite: ${PREREQ_NAME}") - - FILE(INSTALL - DESTINATION "${LIB_INSTALL_PREFIX}" - TYPE PROGRAM - RENAME "${PREREQ_NAME}" - FILES "${PREREQ_ACTUAL}" - ) -ENDFOREACH() |