Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Set variables in the good order

  • Loading branch information...
commit 7dc183126ab53d0788d48066054a8282d63c0d17 1 parent 4fe1656
arisada arisada authored

Showing 1 changed file with 5 additions and 3 deletions. Show diff stats Hide diff stats

  1. +5 3 DefineOptions.cmake
8 DefineOptions.cmake
@@ -11,9 +11,11 @@ option(WITH_INTERNAL_DOC "Compile doxygen internal documentation" OFF)
11 11 option(WITH_TESTING "Build with unit tests" OFF)
12 12 option(WITH_CLIENT_TESTING "Build with client tests; requires a running sshd" OFF)
13 13 option(WITH_BENCHMARKS "Build benchmarks tools" OFF)
  14 +
  15 +if(WITH_BENCHMARKS)
  16 + set(WITH_TESTING ON)
  17 +endif(WITH_BENCHMARKS)
  18 +
14 19 if (WITH_TESTING)
15 20 set(WITH_STATIC_LIB ON)
16 21 endif (WITH_TESTING)
17   -if(WITH_BENCHMARKS)
18   - set(WITH_TESTING ON)
19   -endif(WITH_BENCHMARKS)

0 comments on commit 7dc1831

Please sign in to comment.
Something went wrong with that request. Please try again.