mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 21:12:35 +01:00
Merge pull request #72 from bkaradzic/dependabot/submodules/bgfx-6573fc4
Bump bgfx from `ffeba57` to `6573fc4`
This commit is contained in:
2
bgfx
2
bgfx
Submodule bgfx updated: ffeba57b8a...6573fc44a8
@@ -21,13 +21,6 @@ configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/generated/shader.cpp.in
|
||||
target_sources( bgfx-shader INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/generated/shader.cpp )
|
||||
target_include_directories( bgfx-shader INTERFACE ${BGFX_DIR}/include )
|
||||
|
||||
add_library( bgfx-bounds INTERFACE )
|
||||
configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/generated/bounds.cpp.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/generated/bounds.cpp )
|
||||
target_sources( bgfx-bounds INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/generated/bounds.cpp )
|
||||
target_include_directories( bgfx-bounds INTERFACE ${BGFX_DIR}/include )
|
||||
target_include_directories( bgfx-bounds INTERFACE ${BGFX_DIR}/examples/common )
|
||||
|
||||
# Frameworks required on OS X
|
||||
if( ${CMAKE_SYSTEM_NAME} MATCHES Darwin )
|
||||
find_library( COCOA_LIBRARY Cocoa )
|
||||
|
||||
@@ -15,7 +15,7 @@ include( cmake/3rdparty/meshoptimizer.cmake )
|
||||
add_executable( geometryc ${BGFX_DIR}/tools/geometryc/geometryc.cpp )
|
||||
target_compile_definitions( geometryc PRIVATE "-D_CRT_SECURE_NO_WARNINGS" )
|
||||
set_target_properties( geometryc PROPERTIES FOLDER "bgfx/tools" )
|
||||
target_link_libraries( geometryc bx bgfx-bounds bgfx-vertexlayout meshoptimizer )
|
||||
target_link_libraries( geometryc bx bgfx-vertexlayout meshoptimizer )
|
||||
if( BGFX_CUSTOM_TARGETS )
|
||||
add_dependencies( tools geometryc )
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user