Set cmake behavior to new.
This commit is contained in:
parent
fc9565d38d
commit
125e49e3ca
|
@ -23,6 +23,8 @@ set(TARGET_LIBRARIES
|
|||
"lvgl_demos"
|
||||
)
|
||||
|
||||
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
|
||||
|
||||
set(LV_CONF_PATH "${CMAKE_CURRENT_LIST_DIR}/include/lv_conf.h")
|
||||
|
||||
add_subdirectory(lib/lvgl)
|
||||
|
@ -31,4 +33,4 @@ add_subdirectory(lib/SDL)
|
|||
include_directories(${TARGET_INCLUDES})
|
||||
link_libraries(${TARGET_LIBRARIES})
|
||||
|
||||
add_executable(${CMAKE_PROJECT_NAME} ${TARGET_SOURCES})
|
||||
add_executable(${CMAKE_PROJECT_NAME} ${TARGET_SOURCES})
|
||||
|
|
Loading…
Reference in New Issue