diff options
| author | Don <don.j.olmstead@gmail.com> | 2018-03-16 14:59:53 -0700 |
|---|---|---|
| committer | Don <don.j.olmstead@gmail.com> | 2018-03-16 14:59:53 -0700 |
| commit | 09590953d05672f62a1f95913e6149f490dced80 (patch) | |
| tree | 976726f1462fc9ce924c96d98f636976be109f9a /tests | |
| parent | 639a6629ae4b2243d1d15670f90750c3200ff4bf (diff) | |
| download | portable-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.txt | 2 |
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 |
| 166 | if(NOT CMAKE_HOST_WIN32) | 166 | if(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() |
