fix reference to INCLUDE_QT variable in SetupHifiProject macro

This commit is contained in:
Stephen Birarda 2014-07-30 15:19:43 -07:00
parent 54390600a3
commit 4c59c0ebfe

View file

@ -25,7 +25,7 @@ macro(SETUP_HIFI_PROJECT TARGET INCLUDE_QT)
# add the executable, include additional optional sources
add_executable(${TARGET} ${TARGET_SRCS} ${ARGN})
if (INCLUDE_QT)
if (${INCLUDE_QT})
find_package(Qt5Core REQUIRED)
qt5_use_modules(${TARGET} Core)
endif ()