diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-05-31 15:39:56 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-05-31 15:39:56 +0200 |
commit | ce974949e240a5a3a9fa9c366a7f2c27bae9eff1 (patch) | |
tree | 524520917bb5217f88e319896d7e4d2ad061e77e /CMakeLists.txt | |
parent | Merge pull request #300 (diff) | |
download | monero-ce974949e240a5a3a9fa9c366a7f2c27bae9eff1.tar.xz |
fixed static assert test
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ee351bb1..805b42a79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -235,7 +235,7 @@ else() endif() set(C_WARNINGS "-Waggregate-return -Wnested-externs -Wold-style-definition -Wstrict-prototypes") set(CXX_WARNINGS "-Wno-reorder -Wno-missing-field-initializers") - try_compile(STATIC_ASSERT_RES "${CMAKE_CURRENT_BINARY_DIR}/static-assert" "${CMAKE_CURRENT_SOURCE_DIR}/utils/test-static-assert.c" COMPILE_DEFINITIONS "-std=c11") + try_compile(STATIC_ASSERT_RES "${CMAKE_CURRENT_BINARY_DIR}/static-assert" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/test-static-assert.c" COMPILE_DEFINITIONS "-std=c11") if(STATIC_ASSERT_RES) set(STATIC_ASSERT_FLAG "") else() |