diff --git a/common/kernel-filter/CMakeLists.txt b/common/kernel-filter/CMakeLists.txt index efe6d7c6b..1bef9189f 100644 --- a/common/kernel-filter/CMakeLists.txt +++ b/common/kernel-filter/CMakeLists.txt @@ -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) diff --git a/common/kokkos-sampler/CMakeLists.txt b/common/kokkos-sampler/CMakeLists.txt index eb94dbd0f..dd269a369 100644 --- a/common/kokkos-sampler/CMakeLists.txt +++ b/common/kokkos-sampler/CMakeLists.txt @@ -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) diff --git a/profiling/all/CMakeLists.txt b/profiling/all/CMakeLists.txt index ce8b13e27..32ef0a1f7 100644 --- a/profiling/all/CMakeLists.txt +++ b/profiling/all/CMakeLists.txt @@ -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 $ @@ -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}) \ No newline at end of file +install(TARGETS ${LIBNAME} EXPORT ${EXPORT_NAME})