Skip to content

Commit

Permalink
Fix Stokesian Dynamics build system (#3896)
Browse files Browse the repository at this point in the history
Description of changes:
- fix an incorrect conditional that lead CMake to fetch Stokesian Dynamics even though its dependencies were not found
  • Loading branch information
kodiakhq[bot] authored Sep 16, 2020
2 parents fe967ea + 2259a58 commit 07f2a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ if(WITH_STOKESIAN_DYNAMICS)
endif()
endif(WITH_STOKESIAN_DYNAMICS)

if(WITH_STOKESIAN_DYNAMICS)
if(STOKESIAN_DYNAMICS)
set(CMAKE_INSTALL_LIBDIR
"${CMAKE_INSTALL_PREFIX}/${PYTHON_INSTDIR}/espressomd")
include(FetchContent)
Expand All @@ -289,7 +289,7 @@ if(WITH_STOKESIAN_DYNAMICS)
add_subdirectory(${stokesian_dynamics_SOURCE_DIR}
${stokesian_dynamics_BINARY_DIR})
endif()
endif(WITH_STOKESIAN_DYNAMICS)
endif(STOKESIAN_DYNAMICS)

if(WITH_VALGRIND_INSTRUMENTATION)
find_package(PkgConfig)
Expand Down

0 comments on commit 07f2a3a

Please sign in to comment.