mirror of
https://github.com/QuasarApp/DoctorPill.git
synced 2025-04-28 02:34:46 +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_TESTS "Enable tests of this library" ON)
|
||||||
option(DOCTOR_PILL_EXAMPLE "Enable example app of this library" ON)
|
option(DOCTOR_PILL_EXAMPLE "Enable example app of this library" ON)
|
||||||
|
|
||||||
|
|
||||||
SET(TARGET_DIR "${CMAKE_SOURCE_DIR}/Distro")
|
SET(TARGET_DIR "${CMAKE_SOURCE_DIR}/Distro")
|
||||||
file(MAKE_DIRECTORY ${TARGET_DIR})
|
file(MAKE_DIRECTORY ${TARGET_DIR})
|
||||||
|
|
||||||
@ -58,7 +57,7 @@ endif()
|
|||||||
initAll()
|
initAll()
|
||||||
|
|
||||||
if (DOCTOR_PILL_GUI)
|
if (DOCTOR_PILL_GUI)
|
||||||
add_definitions(-DDOCTOR_PILL_GUI ON)
|
add_definitions(-DDOCTOR_PILL_GUI)
|
||||||
else()
|
else()
|
||||||
set(DOCTOR_PILL_EXAMPLE OFF)
|
set(DOCTOR_PILL_EXAMPLE OFF)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user