Skip to content

Commit

Permalink
CMake: Fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Sep 15, 2020
1 parent fe967ea commit 2259a58
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 2259a58

Please sign in to comment.