Skip to content
Snippets Groups Projects
Commit 7e845caf authored by Vasileios Karakasis's avatar Vasileios Karakasis Committed by GitHub
Browse files

Merge pull request #78 from bcumming/bug/cmake-mechanism-paths

bugfix for missing mechanism paths
parents 97e17b18 0cc8c4c9
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,12 @@ if(USE_OPTIMIZED_KERNELS) # generate optimized kernels
set(modcc_flags ${modcc_flags} -O)
endif()
# make path for the kernels that will be generated by modcc
file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/multicore)
if(WITH_CUDA)
file(MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/gpu)
endif()
# generate source for each mechanism
foreach(mech ${mechanisms})
set(mod "${CMAKE_CURRENT_SOURCE_DIR}/mod/${mech}.mod")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment