diff options
author | Andreas Schneider <asn@cynapses.org> | 2010-12-29 14:14:25 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2011-05-31 19:45:28 +0200 |
commit | d72da6e93f6a2f9f1aebb0de5f6ab3b3655d65c1 (patch) | |
tree | 6c8f7aafbe6f79dd8b208d1d40144cb2e307edf5 | |
parent | dafc2dd4bd95e991ec69a22a729f9e0c79c6ca2e (diff) | |
download | cmocka-d72da6e93f6a2f9f1aebb0de5f6ab3b3655d65c1.tar.gz cmocka-d72da6e93f6a2f9f1aebb0de5f6ab3b3655d65c1.tar.bz2 cmocka-d72da6e93f6a2f9f1aebb0de5f6ab3b3655d65c1.zip |
build: Added option to build with static library.
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | DefineOptions.cmake | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4efade0..ace8875 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,7 +32,7 @@ include(DefineCMakeDefaults) include(DefinePlatformDefaults) include(DefineCompilerFlags) include(DefineInstallationPaths) -#include(DefineOptions.cmake) +include(DefineOptions.cmake) #include(CPackConfig.cmake) # disallow in-source build diff --git a/DefineOptions.cmake b/DefineOptions.cmake new file mode 100644 index 0000000..820d93d --- /dev/null +++ b/DefineOptions.cmake @@ -0,0 +1 @@ +option(WITH_STATIC_LIB "Build with a static library" OFF) |