diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-08-31 11:58:23 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-08-31 11:58:23 +0200 |
| commit | 33675c85dcf0bc500a8fb99ea6766f6a4624d0ad (patch) | |
| tree | 899df1763f1d2871dd4ef7918f8433ce23b24291 | |
| parent | 2f1c3293d2c5776c4ecd9b2f1dce66492b15dbdd (diff) | |
| download | cmix-33675c85dcf0bc500a8fb99ea6766f6a4624d0ad.tar.gz cmix-33675c85dcf0bc500a8fb99ea6766f6a4624d0ad.tar.bz2 cmix-33675c85dcf0bc500a8fb99ea6766f6a4624d0ad.zip | |
Fixes building a test executable on a non C99 default compiler.
| -rw-r--r-- | scratchpad/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scratchpad/CMakeLists.txt b/scratchpad/CMakeLists.txt index 1109ca6..d1e4223 100644 --- a/scratchpad/CMakeLists.txt +++ b/scratchpad/CMakeLists.txt @@ -3,7 +3,11 @@ add_executable(scratchpad scratchpad.c ) +target_compile_options(scratchpad + PRIVATE -std=c99 +) + target_link_libraries(scratchpad PRIVATE cmix PRIVATE cmix-crypto -)
\ No newline at end of file +) |
