Skip to content

Commit

Permalink
Merge pull request #8 from TiManGames/chore/vscode-build-setup
Browse files Browse the repository at this point in the history
Fixed CMake warning and added VS Code ignores
  • Loading branch information
Mudbill authored Oct 2, 2020
2 parents 5188d28 + 36764b6 commit ca6b4ac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ cmake_install.cmake

# Visual Studio 2015/2017 cache/options directory
.vs/

# VS Code project
.vscode/
build/

# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

Expand Down
2 changes: 2 additions & 0 deletions HPL2/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ FindPrebuiltLibrary(GLEW_LIBRARY GLEW)
FindPrebuiltLibrary(THEORA_LIBRARY theora)
FindPrebuiltLibrary(DEVIL_LIBRARY IL)

set(OpenGL_GL_PREFERENCE LEGACY)

find_package(OpenGL)
mark_as_advanced(NEWTON_LIBRARY ANGELSCRIPT_LIBRARY FBX_LIBRARY GLEW_LIBRARY THEORA_LIBRARY DEVIL_LIBRARY)

Expand Down

0 comments on commit ca6b4ac

Please sign in to comment.