Skip to content

Commit

Permalink
glm fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Mar 28, 2024
1 parent 50bd765 commit f694632
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions deps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ endif()
if(NOT TARGET glm::glm)
add_subdirectory(glm)
target_compile_definitions(glm INTERFACE GLM_ENABLE_EXPERIMENTAL)
set_target_properties(glm PROPERTIES LINKER_LANGUAGE CXX)
endif()

## Imgui
Expand Down
2 changes: 0 additions & 2 deletions include/polyscope/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
#include <polyscope/weak_handle.h>

#include <glm/glm.hpp>
#define GLM_ENABLE_EXPERIMENTAL
#include "glm/gtx/dual_quaternion.hpp"
#include "glm/gtx/norm.hpp" // necessary for dual_quaternion below
#undef GLM_ENABLE_EXPERIMENTAL

#include <array>
#include <map>
Expand Down

0 comments on commit f694632

Please sign in to comment.