diff --git a/CMakeLists.txt b/CMakeLists.txt index 363f0f1..df45eb2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,7 +85,7 @@ endif() include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/version.cmake) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/shared.cmake) -include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/bx.cmake) +add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/cmake/bx) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/bimg.cmake) include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/bgfx.cmake) diff --git a/cmake/bx/CMakeLists.txt b/cmake/bx/CMakeLists.txt new file mode 100644 index 0000000..cf8babd --- /dev/null +++ b/cmake/bx/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(bx.cmake) diff --git a/cmake/bx.cmake b/cmake/bx/bx.cmake similarity index 100% rename from cmake/bx.cmake rename to cmake/bx/bx.cmake