From 90958bb018d5fd241404e5debc3cff4ea9042a0d Mon Sep 17 00:00:00 2001 From: David_Korzeniewski Date: Mon, 2 Feb 2015 18:51:02 +0100 Subject: [PATCH] cuda library was not linked to tests, for now using static libraries as dlls don't work for non obvious reasons Former-commit-id: a1cfba331f305f38badd6177b5e52a32071f3a68 --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d533966d..5d8ab2259 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -282,7 +282,6 @@ if(ENABLE_CUDA) cuda_add_library(${STORM_CUDA_LIB_NAME} ${STORM_CUDA_KERNEL_FILES} - SHARED ) endif() @@ -484,6 +483,8 @@ endif(ENABLE_GUROBI) if (ENABLE_CUDA) message (STATUS "StoRM - Linking with CUDA") target_link_libraries(storm ${STORM_CUDA_LIB_NAME}) + target_link_libraries(storm-functional-tests ${STORM_CUDA_LIB_NAME}) + target_link_libraries(storm-performance-tests ${STORM_CUDA_LIB_NAME}) endif(ENABLE_CUDA) #############################################################