From 33675c85dcf0bc500a8fb99ea6766f6a4624d0ad Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Wed, 31 Aug 2016 11:58:23 +0200 Subject: Fixes building a test executable on a non C99 default compiler. --- scratchpad/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 +) -- cgit v1.2.3-70-g09d2