mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 17:26:01 +08:00
Update CMakeLists.txt (#2811)
This commit is contained in:
parent
cb28aeeedc
commit
e10a9f04c5
@ -19,7 +19,7 @@ set(GLFW_INSTALL OFF CACHE BOOL " " FORCE)
|
|||||||
FetchContent_Declare(
|
FetchContent_Declare(
|
||||||
glbinding
|
glbinding
|
||||||
GIT_REPOSITORY https://github.com/cginternals/glbinding.git
|
GIT_REPOSITORY https://github.com/cginternals/glbinding.git
|
||||||
GIT_TAG v3.3.0
|
GIT_TAG v3.4.0
|
||||||
GIT_SHALLOW 1
|
GIT_SHALLOW 1
|
||||||
)
|
)
|
||||||
FetchContent_MakeAvailable(glbinding)
|
FetchContent_MakeAvailable(glbinding)
|
||||||
@ -65,4 +65,4 @@ set_property(TARGET spine-glfw-example-cpp-lite PROPERTY VS_DEBUGGER_WORKING_DIR
|
|||||||
# copy data to build directory
|
# copy data to build directory
|
||||||
add_custom_command(TARGET spine-glfw-example PRE_BUILD
|
add_custom_command(TARGET spine-glfw-example PRE_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||||
${CMAKE_CURRENT_LIST_DIR}/data $<TARGET_FILE_DIR:spine-glfw-example>/data)
|
${CMAKE_CURRENT_LIST_DIR}/data $<TARGET_FILE_DIR:spine-glfw-example>/data)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user