Skip to content

Commit

Permalink
backends update
Browse files Browse the repository at this point in the history
- do not compile backends/capability.cpp on Windows or macOS
  • Loading branch information
jrmadsen committed Jun 30, 2023
1 parent a0289fa commit 0ebba23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/timemory/backends/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ endif()
list(REMOVE_ITEM header_files ${mpi_header_files})
list(REMOVE_ITEM source_files ${mpi_source_files})

if(WIN32 OR APPLE)
file(GLOB_RECURSE capability_files ${CMAKE_CURRENT_SOURCE_DIR}/capability.*)
list(REMOVE_ITEM header_files ${capability_files})
list(REMOVE_ITEM source_files ${capability_files})
endif()

timemory_build_intermediate_library(
USE_INTERFACE INSTALL_SOURCES
NAME backends
Expand Down

0 comments on commit 0ebba23

Please sign in to comment.