diff --git a/CMakeLists.txt b/CMakeLists.txt index 909b862..1d5891f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,10 +117,10 @@ install(TARGETS ${PROJECT_NAME} install(DIRECTORY include/ DESTINATION include COMPONENT ${PROJECT_NAME}) # Export omath target for CMake find_package support, also under omath_component -install(EXPORT omathTargets - FILE omathTargets.cmake +install(EXPORT ${PROJECT_NAME}Targets + FILE ${PROJECT_NAME}Targets.cmake NAMESPACE ${PROJECT_NAME}:: - DESTINATION lib/cmake/omath COMPONENT ${PROJECT_NAME} + DESTINATION lib/cmake/${PROJECT_NAME} COMPONENT ${PROJECT_NAME} ) diff --git a/include/omath/triangle.hpp b/include/omath/triangle.hpp index b5e9822..e15151b 100644 --- a/include/omath/triangle.hpp +++ b/include/omath/triangle.hpp @@ -7,11 +7,12 @@ namespace omath { /* + v1 |\ | \ a | \ hypot | \ - ----- + v2 ----- v3 b */