Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Jan 19, 2024
1 parent ab83675 commit 4c30a49
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ if(WIN32)
else()
set(GN_PATH ${SKIA_SRC}/bin/gn)
set(SKIA_BUILD_CMD ninja -j${N})
set(SKIA_UPDATE_CMD true)
if(${USE_SKIA_SYSTEM_LIBS})
set(SKIA_UPDATE_CMD true)
else()
set(SKIA_UPDATE_CMD python3 "tools/git-sync-deps")
endif()
set(SKIA_ARGS "ar=\"${CMAKE_AR}\" cc=\"${CMAKE_C_COMPILER}\" cxx=\"${CMAKE_CXX_COMPILER}\"")
set(SKIA_ARGS "${SKIA_ARGS} extra_cflags=[\"-Wno-error\", \"-Wno-psabi\"]")
endif()
Expand Down

0 comments on commit 4c30a49

Please sign in to comment.