diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-05-31 15:40:25 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-05-31 15:40:27 +0200 |
commit | afb225b3ce570eca0c50fc56dd32b38d9c1a0758 (patch) | |
tree | 524520917bb5217f88e319896d7e4d2ad061e77e /CMakeLists.txt | |
parent | Merge pull request #300 (diff) | |
parent | fixed static assert test (diff) | |
download | monero-afb225b3ce570eca0c50fc56dd32b38d9c1a0758.tar.xz |
Merge pull request #301
ce97494 fixed static assert test (Riccardo Spagni)
Diffstat (limited to 'CMakeLists.txt')
-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() |