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 /apps | |
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 'apps')
-rw-r--r-- | apps/openssl/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/openssl/CMakeLists.txt b/apps/openssl/CMakeLists.txt index 718c208..8b800c4 100644 --- a/apps/openssl/CMakeLists.txt +++ b/apps/openssl/CMakeLists.txt | |||
@@ -55,12 +55,12 @@ set( | |||
55 | x509.c | 55 | x509.c |
56 | ) | 56 | ) |
57 | 57 | ||
58 | if(CMAKE_HOST_UNIX) | 58 | if(UNIX) |
59 | set(OPENSSL_SRC ${OPENSSL_SRC} apps_posix.c) | 59 | set(OPENSSL_SRC ${OPENSSL_SRC} apps_posix.c) |
60 | set(OPENSSL_SRC ${OPENSSL_SRC} certhash.c) | 60 | set(OPENSSL_SRC ${OPENSSL_SRC} certhash.c) |
61 | endif() | 61 | endif() |
62 | 62 | ||
63 | if(CMAKE_HOST_WIN32) | 63 | if(WIN32) |
64 | set(OPENSSL_SRC ${OPENSSL_SRC} apps_win.c) | 64 | set(OPENSSL_SRC ${OPENSSL_SRC} apps_win.c) |
65 | set(OPENSSL_SRC ${OPENSSL_SRC} certhash_win.c) | 65 | set(OPENSSL_SRC ${OPENSSL_SRC} certhash_win.c) |
66 | set(OPENSSL_SRC ${OPENSSL_SRC} compat/poll_win.c) | 66 | set(OPENSSL_SRC ${OPENSSL_SRC} compat/poll_win.c) |