diff --git a/CMakeLists.txt b/CMakeLists.txt index 31b24db9..4261a7ec 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,12 +7,12 @@ include_directories(include/boost_1_65_1 Headers) set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD_REQUIRED ON) -add_definitions(-DCUSTOMER_PREFIX_PATH) +add_definitions(-DCUSTOMER_CMAKE_PREFIX_PATH) -if (NOT DEFINED CUSTOMER_PREFIX_PATH OR CUSTOMER_PREFIX_PATH STREQUAL "") +if (NOT DEFINED CUSTOMER_CMAKE_PREFIX_PATH OR CUSTOMER_CMAKE_PREFIX_PATH STREQUAL "") message(FATAL_ERROR "You have to specify your own Qt prefix path using CMAKE_PREFIX_PATH argument.") else() - set(CMAKE_PREFIX_PATH ${CUSTOMER_PREFIX_PATH}) + set(CMAKE_PREFIX_PATH ${CUSTOMER_CMAKE_PREFIX_PATH}) endif() set(CMAKE_AUTOMOC ON)