added alias

This commit is contained in:
2025-03-19 18:50:47 +03:00
parent f85243e892
commit 27576ed761
2 changed files with 3 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ else()
add_library(omath STATIC source/Matrix.cpp) add_library(omath STATIC source/Matrix.cpp)
endif() endif()
add_library(omath::omath ALIAS omath)
if (OMATH_IMGUI_INTEGRATION) if (OMATH_IMGUI_INTEGRATION)
target_compile_definitions(omath PUBLIC OMATH_IMGUI_INTEGRATION) target_compile_definitions(omath PUBLIC OMATH_IMGUI_INTEGRATION)
endif() endif()

View File

@@ -35,6 +35,6 @@ set_target_properties(unit-tests PROPERTIES
CXX_STANDARD_REQUIRED ON) CXX_STANDARD_REQUIRED ON)
target_link_libraries(unit-tests PRIVATE gtest gtest_main omath) target_link_libraries(unit-tests PRIVATE gtest gtest_main omath::omath)
gtest_discover_tests(unit-tests) gtest_discover_tests(unit-tests)