equal
deleted
inserted
replaced
|
1 if(APPLE AND EXISTS /usr/local/opt/qt5) |
|
2 # Special treatment for OS X users who |
|
3 # install Qt5 via Homebrew. |
|
4 # Homebrew installs Qt5 (up to at least 5.9.1) in |
|
5 # /usr/local/qt5, ensure it can be found by CMake since |
|
6 # it is not in the default /usr/local prefix. |
|
7 list(APPEND CMAKE_PREFIX_PATH "/usr/local/opt/qt5") |
|
8 endif() |
|
9 |
1 find_package(Qt5 COMPONENTS Core Widgets Gui Network) |
10 find_package(Qt5 COMPONENTS Core Widgets Gui Network) |
2 |
11 |
3 include_directories(${Qt5Core_PRIVATE_INCLUDE_DIRS}) |
12 include_directories(${Qt5Core_PRIVATE_INCLUDE_DIRS}) |
4 |
13 |
5 include(CheckLibraryExists) |
14 include(CheckLibraryExists) |