Skip to content

Commit

Permalink
fix: mp-units-core-module now links with mp-units::utility
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Dec 28, 2023
1 parent 2bd66c8 commit 5d7becf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ if(${projectPrefix}BUILD_CXX_MODULES)
"mp-units-core.cpp"
)
target_compile_definitions(mp-units-core-module INTERFACE MP_UNITS_MODULES)
target_link_libraries(mp-units-core-module PRIVATE mp-units::core PUBLIC mp-units::core-macros)
target_link_libraries(mp-units-core-module PRIVATE mp-units::core mp-units::utility PUBLIC mp-units::core-macros)
if(CMAKE_CXX_COMPILER_ID MATCHES ".*Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 18)
target_compile_options(mp-units-core-module PUBLIC "-Wno-include-angled-in-module-purview")
endif()
Expand Down

0 comments on commit 5d7becf

Please sign in to comment.