From 09590953d05672f62a1f95913e6149f490dced80 Mon Sep 17 00:00:00 2001 From: Don Date: Fri, 16 Mar 2018 14:59:53 -0700 Subject: Remove CMAKE_HOST_ references CMAKE_HOST_ describes the host system not the target. For cross compilation to work the actual target system should be used for making decisions in CMake. --- tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b6d94bf..bbf6a32 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -163,7 +163,7 @@ add_test(evptest evptest ${CMAKE_CURRENT_SOURCE_DIR}/evptests.txt) # explicit_bzero # explicit_bzero relies on SA_ONSTACK, which is unavailable on Windows -if(NOT CMAKE_HOST_WIN32) +if(NOT WIN32) if(HAVE_MEMMEM) add_executable(explicit_bzero explicit_bzero.c) else() -- cgit v1.2.3-55-g6feb