yuki-koyama/optimo

Qt5 path in CMakeLists.txt

yuki-koyama opened this issue · 1 comments

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()

Ref: Homebrew/homebrew-core#8392

The currently used default path seems /usr/local/opt/qt, not /usr/local/opt/qt5.