add classic theme option to Makefile.pl
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@664 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
77f2ae8fd6
commit
d95939b23c
5 changed files with 57 additions and 33 deletions
|
|
@ -14,7 +14,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
|
|||
else()
|
||||
option(BUILD_VULKAN "Compile Vulkan widget or not" ON)
|
||||
endif()
|
||||
option(CLASSIC "Use classic theme" OFF)
|
||||
option(CLASSIC_THEME "Use classic theme" OFF)
|
||||
option(BUILD_EXAMPLES "Build examples" OFF)
|
||||
option(USE_STB_IMAGE "Use stb_image" ON)
|
||||
option(USE_STB_TRUETYPE "Use stb_truetype" OFF)
|
||||
|
|
@ -100,11 +100,11 @@ target_include_directories(
|
|||
include
|
||||
)
|
||||
|
||||
if(CLASSIC)
|
||||
if(CLASSIC_THEME)
|
||||
target_compile_definitions(
|
||||
Mw
|
||||
PRIVATE
|
||||
MW_CLASSIC_THEME
|
||||
USE_CLASSIC_THEME
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue