Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Sisah2 authored Sep 19, 2024
1 parent f6b8fc3 commit 25ca4cf
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions buildscripts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ set(MYGUI_VERSION 3.4.3)
set(MYGUI_HASH SHA256=d1d5f294670ae71f7200ed4b30859018281d8cfd45d6a38d18b97a4aba604c42)

# https://github.com/sisah2/gl4es/releases
set(GL4ES_VERSION 44c8b04411183f39a9c54b2a0d2fe0fdbfc78648)
set(GL4ES_VERSION 8013ed51cb0254d9947abefeb82c63410ed541b8)
set(GL4ES_HASH SHA256=b565e717c7d192e936bda25f3cb90ad8db398af56414ec08294b6716574c1a6d)

# https://github.com/openscenegraph/OpenSceneGraph/releases
Expand Down Expand Up @@ -342,19 +342,22 @@ ExternalProject_Add(bullet
)

ExternalProject_Add(gl4es
URL https://github.com/sisah2/gl4es/archive/${GL4ES_VERSION}.tar.gz
URL https://github.com/Duron27/gl4es/archive/${GL4ES_VERSION}.tar.gz
#URL_HASH ${GL4ES_HASH}
DOWNLOAD_DIR ${download_dir}

CONFIGURE_COMMAND ""
CONFIGURE_COMMAND ${wrapper_command} cmake <SOURCE_DIR>
${COMMON_CMAKE_ARGS}

BUILD_COMMAND ${wrapper_command} $(MAKE)

INSTALL_COMMAND ${wrapper_command} $(MAKE) install

BUILD_COMMAND ${wrapper_command} ndk-build
${COMMON_NDK_BUILD_FLAGS}

INSTALL_COMMAND mkdir -p ${prefix}/lib/
COMMAND cp libs/${app_abi}/libGL.so ${prefix}/lib/
COMMAND cp -r <SOURCE_DIR>/include ${prefix}/include/gl4es/
COMMAND cp -r <SOURCE_DIR>/include ${prefix}/
#COMMAND mkdir -p ${prefix}/lib/
#COMMAND cp libs/${app_abi}/libGL.so ${prefix}/lib/
#COMMAND cp -r <SOURCE_DIR>/include ${prefix}/include/gl4es/
#COMMAND cp -r <SOURCE_DIR>/include ${prefix}/
)

ExternalProject_Add(mygui
Expand Down

0 comments on commit 25ca4cf

Please sign in to comment.