mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
chore: merge issues fixed
This commit is contained in:
@@ -28,9 +28,6 @@ set(projectPrefix UNITS_)
|
||||
option(${projectPrefix}AS_SYSTEM_HEADERS "Exports library as system headers" OFF)
|
||||
message(STATUS "${projectPrefix}AS_SYSTEM_HEADERS: ${${projectPrefix}AS_SYSTEM_HEADERS}")
|
||||
|
||||
option(${projectPrefix}BUILD_LA "Build code depending on the linear algebra library" ON)
|
||||
message(STATUS "${projectPrefix}BUILD_LA: ${${projectPrefix}BUILD_LA}")
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
||||
|
||||
include(AddUnitsModule)
|
||||
@@ -64,5 +61,5 @@ write_basic_package_version_file(mp-unitsConfigVersion.cmake COMPATIBILITY SameM
|
||||
install(EXPORT mp-unitsTargets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/mp-units NAMESPACE mp-units::)
|
||||
|
||||
install(FILES mp-unitsConfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/mp-unitsConfigVersion.cmake
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/mp-units
|
||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/mp-units
|
||||
)
|
||||
|
@@ -86,10 +86,6 @@ inline constexpr bool is_vector = false;
|
||||
template<typename Rep>
|
||||
inline constexpr bool is_tensor = false;
|
||||
|
||||
template<typename T>
|
||||
requires requires { typename T::element_type; }
|
||||
inline constexpr bool treat_as_floating_point<T> = treat_as_floating_point<typename T::element_type>;
|
||||
|
||||
/**
|
||||
* @brief A type trait that defines zero, one, min, and max for a representation type
|
||||
*
|
||||
|
Reference in New Issue
Block a user