Skip to content

Commit

Permalink
Merge pull request #251 from masterleinad/remove_kokkostools_library_…
Browse files Browse the repository at this point in the history
…mode

Remove KOKKOSTOOLS_LIBRARY_MODE
  • Loading branch information
crtrott authored Jun 6, 2024
2 parents 58258bd + cbaf27e commit 0a5d81d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion common/kernel-filter/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
kp_add_library(kp_kernel_filter ${KOKKOSTOOLS_LIBRARY_MODE} kp_kernel_filter.cpp)
kp_add_library(kp_kernel_filter kp_kernel_filter.cpp)
2 changes: 1 addition & 1 deletion common/kokkos-sampler/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
kp_add_library(kp_kokkos_sampler ${KOKKOSTOOLS_LIBRARY_MODE} kp_sampler_skip.cpp)
kp_add_library(kp_kokkos_sampler kp_sampler_skip.cpp)
4 changes: 2 additions & 2 deletions profiling/all/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(LIBNAME kokkostools)
# return()
#endif()

add_library(${LIBNAME} ${KOKKOSTOOLS_LIBRARY_MODE} kp_all.cpp)
add_library(${LIBNAME} kp_all.cpp)

target_include_directories(${LIBNAME}
PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
Expand All @@ -19,4 +19,4 @@ endif()
file(GLOB_RECURSE HEADER_FILES CONFIGURE_DEPENDS kp_all.hpp "${COMMON_HEADERS_PATH}/*.hpp")

install(FILES ${HEADER_FILES} DESTINATION ${EXPORT_INCLUDE_DIR})
install(TARGETS ${LIBNAME} EXPORT ${EXPORT_NAME})
install(TARGETS ${LIBNAME} EXPORT ${EXPORT_NAME})

0 comments on commit 0a5d81d

Please sign in to comment.