Browse Source

cuda library was not linked to tests, for now using static libraries as dlls don't work for non obvious reasons

Former-commit-id: a1cfba331f
tempestpy_adaptions
David_Korzeniewski 10 years ago
parent
commit
90958bb018
  1. 3
      CMakeLists.txt

3
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)
#############################################################

Loading…
Cancel
Save