Don't hardcode install_name_tool change path, resolves #1518

This commit is contained in:
Janek Bevendorff
2018-02-21 23:01:02 +01:00
parent 686adbe65a
commit a06a1f84e0
4 changed files with 7 additions and 5 deletions

View File

@@ -298,6 +298,8 @@ if(Qt5Core_VERSION VERSION_LESS "5.2.0")
message(FATAL_ERROR "Qt version 5.2.0 or higher is required")
endif()
get_filename_component(Qt5_PREFIX ${Qt5_DIR}/../../.. REALPATH)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)