4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-12 02:39:34 +00:00

cmake: fixed when set empty CMAKE_INSTALL_PREFIX in command line

This commit is contained in:
Ivan Romanov 2014-08-26 16:24:59 +06:00
parent c30f5d2455
commit bfe0784fde

@ -2,6 +2,8 @@
# It must be done before project(...)
if(NOT CMAKE_INSTALL_PREFIX)
set(QCA_INSTALL_IN_QT_PREFIX ON)
# If CMAKE_INSTALL_PREFIX is set in cmake arguments
unset(CMAKE_INSTALL_PREFIX CACHE)
endif(NOT CMAKE_INSTALL_PREFIX)
project(qca)