aboutsummaryrefslogtreecommitdiff
path: root/scratchpad
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-08-31 11:58:23 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-08-31 11:58:23 +0200
commit33675c85dcf0bc500a8fb99ea6766f6a4624d0ad (patch)
tree899df1763f1d2871dd4ef7918f8433ce23b24291 /scratchpad
parent2f1c3293d2c5776c4ecd9b2f1dce66492b15dbdd (diff)
downloadcmix-33675c85dcf0bc500a8fb99ea6766f6a4624d0ad.tar.gz
cmix-33675c85dcf0bc500a8fb99ea6766f6a4624d0ad.tar.bz2
cmix-33675c85dcf0bc500a8fb99ea6766f6a4624d0ad.zip
Fixes building a test executable on a non C99 default compiler.
Diffstat (limited to 'scratchpad')
-rw-r--r--scratchpad/CMakeLists.txt6
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
+)