aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDon <don.j.olmstead@gmail.com>2018-03-16 14:59:53 -0700
committerDon <don.j.olmstead@gmail.com>2018-03-16 14:59:53 -0700
commit09590953d05672f62a1f95913e6149f490dced80 (patch)
tree976726f1462fc9ce924c96d98f636976be109f9a /tests
parent639a6629ae4b2243d1d15670f90750c3200ff4bf (diff)
downloadportable-09590953d05672f62a1f95913e6149f490dced80.tar.gz
portable-09590953d05672f62a1f95913e6149f490dced80.tar.bz2
portable-09590953d05672f62a1f95913e6149f490dced80.zip
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)
163 163
164# explicit_bzero 164# explicit_bzero
165# explicit_bzero relies on SA_ONSTACK, which is unavailable on Windows 165# explicit_bzero relies on SA_ONSTACK, which is unavailable on Windows
166if(NOT CMAKE_HOST_WIN32) 166if(NOT WIN32)
167 if(HAVE_MEMMEM) 167 if(HAVE_MEMMEM)
168 add_executable(explicit_bzero explicit_bzero.c) 168 add_executable(explicit_bzero explicit_bzero.c)
169 else() 169 else()