mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-31 14:51:11 +03:00
retrofit to gcc8
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
set(COMPONENT_ADD_INCLUDEDIRS main components/tools)
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(squeezelite-esp32)
|
||||
|
||||
|
||||
|
||||
if(NOT $ENV{PROJECT_NAME} or $ENV{PROJECT_NAME} = "recovery")
|
||||
add_definitions(-DRECOVERY_APPLICATION=1)
|
||||
project(recovery)
|
||||
else()
|
||||
add_definitions(-DRECOVERY_APPLICATION=0)
|
||||
project(squeezelite)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user