Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Aug 12, 2024
1 parent 5f9d09e commit 1dc8e8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,14 @@ else()
target_include_directories(cellml PUBLIC ${ZLIB_INCLUDE_DIRS})
endif()

message(">>> HAVE_LIBXML2_CONFIG: ${HAVE_LIBXML2_CONFIG}")
if(HAVE_LIBXML2_CONFIG)
message(">>> target_link_libraries(cellml PUBLIC ${LIBXML2_TARGET_NAME})")
target_link_libraries(cellml PUBLIC ${LIBXML2_TARGET_NAME})
else()
message(">>> target_include_directories(cellml PUBLIC ${LIBXML2_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS})")
message(">>> target_link_libraries(cellml PUBLIC ${LIBXML2_LIBRARIES} ${ZLIB_LIBRARIES})")
message(">>> target_compile_definitions(cellml PUBLIC ${LIBXML2_DEFINITIONS})")
target_include_directories(cellml PUBLIC ${LIBXML2_INCLUDE_DIR} ${ZLIB_INCLUDE_DIRS})
target_link_libraries(cellml PUBLIC ${LIBXML2_LIBRARIES} ${ZLIB_LIBRARIES})
target_compile_definitions(cellml PUBLIC ${LIBXML2_DEFINITIONS})
Expand Down

0 comments on commit 1dc8e8d

Please sign in to comment.