This commit is contained in:
Timur A. Fatkhullin
2026-02-17 22:35:56 +03:00
parent af5d852db9
commit 00c7641d50
3 changed files with 5 additions and 2 deletions

View File

@@ -273,7 +273,8 @@ endif()
if(USE_SPDLOG) if(USE_SPDLOG)
target_link_libraries(${PROJECT_NAME} INTERFACE spdlog::spdlog_header_only) target_link_libraries(${PROJECT_NAME} INTERFACE spdlog::spdlog_header_only)
target_compile_definitions(${PROJECT_NAME} INTERFACE SPDLOG_USE_STD_FORMAT=1 SPDLOG_FMT_EXTERNAL=0) # target_compile_definitions(${PROJECT_NAME} INTERFACE SPDLOG_USE_STD_FORMAT=1 SPDLOG_FMT_EXTERNAL=0)
target_compile_definitions(${PROJECT_NAME} INTERFACE SPDLOG_USE_STD_FORMAT=1)
endif() endif()
if(BUILD_TESTS) if(BUILD_TESTS)

View File

@@ -32,7 +32,8 @@ FortranCInterface_VERIFY(CXX)
# include_directories(${BSPLINES_INCLUDE_DIR}) # include_directories(${BSPLINES_INCLUDE_DIR})
# add_library(fitpack_project STATIC EXCLUDE_FROM_ALL ${src_files} mcc_bsplines.h) # add_library(fitpack_project STATIC EXCLUDE_FROM_ALL ${src_files} mcc_bsplines.h)
add_library(fitpack_project STATIC EXCLUDE_FROM_ALL ${src_files}) # add_library(fitpack_project STATIC EXCLUDE_FROM_ALL ${src_files})
add_library(fitpack_project STATIC ${src_files})
add_library(fitpack STATIC IMPORTED GLOBAL) add_library(fitpack STATIC IMPORTED GLOBAL)
set_target_properties( set_target_properties(

View File

@@ -15,6 +15,7 @@ static std::uniform_real_distribution<double> xs_distrib(100, 700);
static std::uniform_real_distribution<double> ys_distrib(100, 700); static std::uniform_real_distribution<double> ys_distrib(100, 700);
struct hw_t { struct hw_t {
static constexpr mcc::MccMountType mountType{mcc::MccMountType::ALTAZ_TYPE};
static constexpr std::string_view hardwareName{"HW-TEST"}; static constexpr std::string_view hardwareName{"HW-TEST"};
typedef int error_t; typedef int error_t;