Closed photex closed 6 years ago
This seems to fix this particular problem.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 05ab376..4a267de 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -51,9 +51,7 @@ if( BGFX_BUILD_TOOLS )
include( cmake/tools.cmake )
endif()
-if( BGFX_BUILD_EXAMPLES )
- include( cmake/examples.cmake )
-endif()
+include( cmake/examples.cmake )
if( BGFX_INSTALL )
# install bx
diff --git a/bx b/bx
index cf9acbf..b7f1772 160000
--- a/bx
+++ b/bx
@@ -1 +1 @@
-Subproject commit cf9acbfdb09e929b22f698eeb63a48618d6cb3ef
+Subproject commit b7f1772545ee5c5220ecbcff258761372d75ea43
diff --git a/cmake/examples.cmake b/cmake/examples.cmake
index 15e7b14..e70a3cb 100755
--- a/cmake/examples.cmake
+++ b/cmake/examples.cmake
@@ -198,6 +198,8 @@ set(
36-sky
)
-foreach( EXAMPLE ${BGFX_EXAMPLES} )
- add_example( ${EXAMPLE} )
-endforeach()
+if( BGFX_BUILD_EXAMPLES )
+ foreach( EXAMPLE ${BGFX_EXAMPLES} )
+ add_example( ${EXAMPLE} )
+ endforeach()
+endif()
Should be fixed with #16. If not, let me know.
Awesome. Everything works well. Thanks @JoshuaBrookover @jaynus
Howdy!
Looks like texturev depend on common.h in bgfx/examples/common. When you configure the project without examples the path is no longer part of the included header search paths.