widberg / bgfx.cmake

https://github.com/bkaradzic/bgfx.cmake. Independently maintained CMake build scripts for bgfx. Released under public domain.
https://github.com/bkaradzic/bgfx.cmake
Creative Commons Zero v1.0 Universal
286 stars 252 forks source link

include: Put BUILD_INTERFACE entries one per line #62

Closed bwrsandman closed 4 years ago

bwrsandman commented 4 years ago

This fixes an error when adding subdirectory:

CMake Error in _deps/bgfx-src/CMakeLists.txt:
  Target "astc-codec" INTERFACE_INCLUDE_DIRECTORIES property contains path:

    "_deps/bgfx-src/"

  which is prefixed in the build directory.Target "astc-codec"
  INTERFACE_INCLUDE_DIRECTORIES property contains path:

    "_deps/bgfx-src/"

  which is prefixed in the source directory.