use QtCreator's $QTPATH in CMake

This commit is contained in:
Orochimarufan 2013-02-21 21:55:35 +01:00
parent ca1fd44637
commit d891032219

View File

@ -264,6 +264,10 @@ ADD_DEPENDENCIES(MultiMC MultiMCLauncher libmmcutil libmmcsettings libmmcinst)
################################ INSTALLATION AND PACKAGING ################################
# use QtCreator's QTDIR var
IF(DEFINED ENV{QTDIR})
SET(Qt5_DIR $ENV{QTDIR})
ENDIF()
######## Plugin and library folders ########