mirror of
https://github.com/bkaradzic/bgfx.cmake.git
synced 2026-02-17 21:12:35 +01:00
20 lines
827 B
CMake
20 lines
827 B
CMake
# bgfx.cmake - bgfx building in cmake
|
|
# Written in 2016 by Joshua Brookover <josh@jalb.me>
|
|
|
|
# To the extent possible under law, the author(s) have dedicated all copyright
|
|
# and related and neighboring rights to this software to the public domain
|
|
# worldwide. This software is distributed without any warranty.
|
|
|
|
# You should have received a copy of the CC0 Public Domain Dedication along with
|
|
# this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|
|
|
if( TARGET forsyth-too )
|
|
return()
|
|
endif()
|
|
|
|
file( GLOB FORSYTH-TOO_SOURCES ${BGFX_DIR}/3rdparty/forsyth-too/*.cpp ${BGFX_DIR}/3rdparty/forsyth-too/*.h )
|
|
|
|
add_library( forsyth-too STATIC ${FORSYTH-TOO_SOURCES} )
|
|
target_include_directories( forsyth-too PUBLIC ${BGFX_DIR}/3rdparty )
|
|
set_target_properties( forsyth-too PROPERTIES FOLDER "bgfx/3rdparty" )
|