Closed 0x0c closed 5 years ago
I fix the issue that 'tiny_obj_loader.h' not found when -DELASTY_EXAMPLES is disabled. This issue is reproduced on an environment as follows.
-DELASTY_EXAMPLES
- Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1 - Apple LLVM version 10.0.1 (clang-1001.0.46.4) - Target: x86_64-apple-darwin18.5.0 - Thread model: posix - InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin - cmake version 3.14.3
Also I added .gitignore for linux, macos, windows and Xcode for cmake -G Xcode.
.gitignore
cmake -G Xcode
Thanks for this useful PR!!!
I fix the issue that 'tiny_obj_loader.h' not found when
-DELASTY_EXAMPLES
is disabled. This issue is reproduced on an environment as follows.Also I added
.gitignore
for linux, macos, windows and Xcode forcmake -G Xcode
.