-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: Textures and materials to gl_viewer
- Loading branch information
Showing
4 changed files
with
256 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
add_executable(fastgltf_gl_viewer EXCLUDE_FROM_ALL) | ||
target_compile_features(fastgltf_gl_viewer PUBLIC cxx_std_17) | ||
target_link_libraries(fastgltf_gl_viewer PRIVATE fastgltf fastgltf_examples_glad) | ||
if (TARGET glfw::glfw AND TARGET glm::glm) | ||
target_link_libraries(fastgltf_gl_viewer PRIVATE glfw::glfw glm::glm) | ||
if (TARGET glfw::glfw AND TARGET glm::glm AND TARGET stb) | ||
target_link_libraries(fastgltf_gl_viewer PRIVATE glfw::glfw glm::glm stb) | ||
endif() | ||
|
||
add_source_directory(TARGET fastgltf_gl_viewer FOLDER ".") |
Oops, something went wrong.