Skip to content

Commit

Permalink
cmake: Missing dependencies on EspressoConfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
fweik committed May 21, 2016
1 parent 150de1e commit d88481f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core/actor/CMakeLists.txt
Expand Up @@ -8,6 +8,7 @@ set_target_properties(Actor PROPERTIES MACOSX_RPATH TRUE)
if(CUDA)
file(GLOB ActorCuda_SRC *.cu)
cuda_add_library(ActorCuda SHARED ${ActorCuda_SRC})
add_dependencies(ActorCuda EspressoConfig)

add_dependencies(Actor ActorCuda)
set_target_properties(ActorCuda PROPERTIES MACOSX_RPATH TRUE)
Expand Down
1 change: 1 addition & 0 deletions src/core/immersed_boundary/CMakeLists.txt
Expand Up @@ -5,6 +5,7 @@ add_dependencies(ImmersedBoundary EspressoConfig)
if(CUDA)
file(GLOB ImmersedBoundaryCuda_SRC *.cu)
cuda_add_library(ImmersedBoundaryCuda SHARED ${ImmersedBoundaryCuda_SRC})
add_dependencies(ImmersedBoundaryCuda EspressoConfig)

set_target_properties(ImmersedBoundaryCuda PROPERTIES MACOSX_RPATH TRUE)
CUDA_ADD_CUFFT_TO_TARGET(ImmersedBoundaryCuda)
Expand Down

0 comments on commit d88481f

Please sign in to comment.