From ba1bb1b2345a3fc9f74f8f3d2a5cc991f64ec62f Mon Sep 17 00:00:00 2001 From: Gary Hu Date: Mon, 10 Feb 2025 13:13:42 -0600 Subject: [PATCH] exclude html from ALL, fix timpi link lib --- cmake/Modules/SetupTIMPI.cmake | 2 +- doc/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Modules/SetupTIMPI.cmake b/cmake/Modules/SetupTIMPI.cmake index 4956bbdf83..7a46eda98f 100644 --- a/cmake/Modules/SetupTIMPI.cmake +++ b/cmake/Modules/SetupTIMPI.cmake @@ -85,7 +85,7 @@ if(NOT TIMPI_FOUND) # Export variables set(TIMPI_FOUND TRUE) set(TIMPI_INCLUDE_DIRS ${TIMPI_INSTALL_DIR}/include) - set(TIMPI_LIBRARIES TIMPI_${TIMPI_BUILD_TYPE}) + set(TIMPI_LIBRARIES timpi_${TIMPI_BUILD_TYPE}) set(TIMPI_LINK_DIRS ${TIMPI_INSTALL_DIR}/lib) # Export interface diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index dcc5ffaf0b..85eee48d9a 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -59,7 +59,7 @@ add_custom_target(syntax_python # ---------------------------------------------------------------------------- generate_doxyfile(${NEML2_BINARY_DIR}/doc/DoxyfileHTML "config/Doxyfile.in;config/HTML.in") generate_doxyfile(${NEML2_BINARY_DIR}/doc/DoxyfilePython "config/Doxyfile.in;config/HTML.in;config/Python.in") -add_custom_target(html ALL +add_custom_target(html DEPENDS syntax_cpp syntax_python WORKING_DIRECTORY ${NEML2_BINARY_DIR}/doc COMMAND ${DOXYGEN_EXECUTABLE} -q DoxyfileHTML.sh