File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,6 @@ set_target_properties(
6060 CXX_EXTENSIONS NO
6161)
6262
63-
64- # install(
65- # EXPORT ${PROJECT_NAME}Targets
66- # NAMESPACE mamba::
67- # DESTINATION ${LIBMAMBA_CMAKECONFIG_INSTALL_DIR}
68- # COMPONENT Mamba_Development
69- # )
70- # export(EXPORT ${PROJECT_NAME}Targets NAMESPACE mamba::)
71-
7263if (BUILD_LIBMAMBA_SPDLOG_TESTS)
7364 add_subdirectory (tests/)
7465endif ()
Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ project(libmambapy)
1111
1212if (NOT TARGET mamba::libmamba)
1313 find_package (libmamba CONFIG REQUIRED)
14- set (libmamba_target mamba::libmamba-dyn)
15- else ()
16- set (libmamba_target mamba::libmamba)
14+ endif ()
15+
16+ if (NOT TARGET mamba::libmamba-spdlog)
17+ find_package (libmamba-spdlog CONFIG REQUIRED)
1718endif ()
1819
1920find_package (Python COMPONENTS Interpreter Development.Module)
@@ -48,7 +49,7 @@ target_include_directories(bindings PRIVATE bindings)
4849
4950mamba_target_add_compile_warnings(bindings WARNING_AS_ERROR ${MAMBA_WARNING_AS_ERROR} )
5051
51- target_link_libraries (bindings PRIVATE pybind11::pybind11 ${libmamba_target} mamba::libmamba-spdlog)
52+ target_link_libraries (bindings PRIVATE pybind11::pybind11 mamba::libmamba mamba::libmamba-spdlog)
5253target_compile_features (bindings PUBLIC cxx_std_20)
5354set_target_properties (
5455 bindings
You can’t perform that action at this time.
0 commit comments