diff --git a/CMakeLists.txt b/CMakeLists.txt index f7edc02..5f55e36 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -102,7 +102,7 @@ endif() include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/shared.cmake) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/cmake/bx) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/cmake/bimg) -include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/bgfx.cmake) +add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/cmake/bgfx) if(BGFX_BUILD_TOOLS) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/tools.cmake) diff --git a/cmake/bgfx/CMakeLists.txt b/cmake/bgfx/CMakeLists.txt new file mode 100644 index 0000000..e99f29f --- /dev/null +++ b/cmake/bgfx/CMakeLists.txt @@ -0,0 +1,11 @@ +# bgfx.cmake - bgfx building in cmake +# Written in 2017 by Joshua Brookover +# +# 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 . + +include(bgfx.cmake) diff --git a/cmake/bgfx.cmake b/cmake/bgfx/bgfx.cmake similarity index 100% rename from cmake/bgfx.cmake rename to cmake/bgfx/bgfx.cmake