mirror of
https://github.com/QuasarApp/DoctorPill.git
synced 2025-04-26 17:54:44 +00:00
fix build
This commit is contained in:
parent
f0824192ca
commit
948efe4687
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user