parent
87072dc6c8
commit
e77a9b3477
@ -57,10 +57,6 @@ set(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR})
|
|||||||
# Find and include SDL2 library
|
# Find and include SDL2 library
|
||||||
find_package(SDL2 REQUIRED)
|
find_package(SDL2 REQUIRED)
|
||||||
|
|
||||||
# Remove ARM-specific compile and linker options
|
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native")
|
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native")
|
|
||||||
|
|
||||||
# Add compile definitions based on the selected options
|
# Add compile definitions based on the selected options
|
||||||
add_compile_definitions($<$<BOOL:${LV_USE_DRAW_SDL}>:LV_USE_DRAW_SDL=1>)
|
add_compile_definitions($<$<BOOL:${LV_USE_DRAW_SDL}>:LV_USE_DRAW_SDL=1>)
|
||||||
add_compile_definitions($<$<BOOL:${LV_USE_LIBPNG}>:LV_USE_LIBPNG=1>)
|
add_compile_definitions($<$<BOOL:${LV_USE_LIBPNG}>:LV_USE_LIBPNG=1>)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user