fix build

This commit is contained in:
Andrei Yankovich 2022-01-18 16:50:09 +03:00
parent f0824192ca
commit 948efe4687

View File

@ -35,7 +35,6 @@ option(DOCTOR_PILL_GUI "Enable gui qml model for build" ON)
option(DOCTOR_PILL_TESTS "Enable tests of this library" ON)
option(DOCTOR_PILL_EXAMPLE "Enable example app of this library" ON)
SET(TARGET_DIR "${CMAKE_SOURCE_DIR}/Distro")
file(MAKE_DIRECTORY ${TARGET_DIR})
@ -58,7 +57,7 @@ endif()
initAll()
if (DOCTOR_PILL_GUI)
add_definitions(-DDOCTOR_PILL_GUI ON)
add_definitions(-DDOCTOR_PILL_GUI)
else()
set(DOCTOR_PILL_EXAMPLE OFF)
endif()