Qt5 path in CMakeLists.txt
yuki-koyama opened this issue · 1 comments
yuki-koyama commented
When qt5 is installed via homebrew, the following code would be helpful:
if(APPLE AND EXISTS /usr/local/opt/qt5)
list(APPEND CMAKE_PREFIX_PATH "/usr/local/opt/qt5")
endif()
yuki-koyama commented
The currently used default path seems /usr/local/opt/qt
, not /usr/local/opt/qt5
.