diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-12-28 13:50:34 +0100 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2010-12-28 13:50:34 +0100 |
commit | 7dc183126ab53d0788d48066054a8282d63c0d17 (patch) | |
tree | c5e35f11b309f22b2b08fb6ecb54c99a9b28d057 /DefineOptions.cmake | |
parent | 4fe1656cf89c10b2f69aedc104a19f61a138f826 (diff) | |
download | libssh-7dc183126ab53d0788d48066054a8282d63c0d17.tar.gz libssh-7dc183126ab53d0788d48066054a8282d63c0d17.tar.xz libssh-7dc183126ab53d0788d48066054a8282d63c0d17.zip |
Set variables in the good order
Diffstat (limited to 'DefineOptions.cmake')
-rw-r--r-- | DefineOptions.cmake | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/DefineOptions.cmake b/DefineOptions.cmake index d82588c..323d1af 100644 --- a/DefineOptions.cmake +++ b/DefineOptions.cmake @@ -11,9 +11,11 @@ option(WITH_INTERNAL_DOC "Compile doxygen internal documentation" OFF) option(WITH_TESTING "Build with unit tests" OFF) option(WITH_CLIENT_TESTING "Build with client tests; requires a running sshd" OFF) option(WITH_BENCHMARKS "Build benchmarks tools" OFF) + +if(WITH_BENCHMARKS) + set(WITH_TESTING ON) +endif(WITH_BENCHMARKS) + if (WITH_TESTING) set(WITH_STATIC_LIB ON) endif (WITH_TESTING) -if(WITH_BENCHMARKS) - set(WITH_TESTING ON) -endif(WITH_BENCHMARKS)
\ No newline at end of file |