diff options
-rw-r--r-- | apps/nc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | apps/ocspcheck/CMakeLists.txt | 2 | ||||
-rw-r--r-- | apps/openssl/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 1 |
4 files changed, 4 insertions, 3 deletions
diff --git a/apps/nc/CMakeLists.txt b/apps/nc/CMakeLists.txt index 30c1745..cc34ef3 100644 --- a/apps/nc/CMakeLists.txt +++ b/apps/nc/CMakeLists.txt | |||
@@ -43,7 +43,7 @@ else() | |||
43 | endif() | 43 | endif() |
44 | 44 | ||
45 | add_executable(nc ${NC_SRC}) | 45 | add_executable(nc ${NC_SRC}) |
46 | target_include_directories(nc PRIVATE . ./compat) | 46 | target_include_directories(nc PRIVATE . ./compat ../../include/compat) |
47 | target_link_libraries(nc tls ${OPENSSL_LIBS}) | 47 | target_link_libraries(nc tls ${OPENSSL_LIBS}) |
48 | 48 | ||
49 | if(ENABLE_NC) | 49 | if(ENABLE_NC) |
diff --git a/apps/ocspcheck/CMakeLists.txt b/apps/ocspcheck/CMakeLists.txt index 9e0d012..3c80458 100644 --- a/apps/ocspcheck/CMakeLists.txt +++ b/apps/ocspcheck/CMakeLists.txt | |||
@@ -20,7 +20,7 @@ else() | |||
20 | endif() | 20 | endif() |
21 | 21 | ||
22 | add_executable(ocspcheck ${OCSPCHECK_SRC}) | 22 | add_executable(ocspcheck ${OCSPCHECK_SRC}) |
23 | target_include_directories(ocspcheck PRIVATE . ./compat) | 23 | target_include_directories(ocspcheck PRIVATE . ./compat ../../include/compat) |
24 | target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) | 24 | target_link_libraries(ocspcheck tls ${OPENSSL_LIBS}) |
25 | 25 | ||
26 | if(ENABLE_LIBRESSL_INSTALL) | 26 | if(ENABLE_LIBRESSL_INSTALL) |
diff --git a/apps/openssl/CMakeLists.txt b/apps/openssl/CMakeLists.txt index 1fe9004..db63ecf 100644 --- a/apps/openssl/CMakeLists.txt +++ b/apps/openssl/CMakeLists.txt | |||
@@ -68,7 +68,7 @@ else() | |||
68 | endif() | 68 | endif() |
69 | 69 | ||
70 | add_executable(openssl ${OPENSSL_SRC}) | 70 | add_executable(openssl ${OPENSSL_SRC}) |
71 | target_include_directories(openssl PRIVATE .) | 71 | target_include_directories(openssl PRIVATE . ../../include/compat) |
72 | target_link_libraries(openssl ${OPENSSL_LIBS}) | 72 | target_link_libraries(openssl ${OPENSSL_LIBS}) |
73 | 73 | ||
74 | if(ENABLE_LIBRESSL_INSTALL) | 74 | if(ENABLE_LIBRESSL_INSTALL) |
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 065d934..3ef7b84 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -6,6 +6,7 @@ include_directories( | |||
6 | ../tls | 6 | ../tls |
7 | ../apps/openssl | 7 | ../apps/openssl |
8 | ../apps/openssl/compat | 8 | ../apps/openssl/compat |
9 | ../include/compat | ||
9 | ) | 10 | ) |
10 | 11 | ||
11 | add_definitions(-D_PATH_SSL_CA_FILE=\"${CMAKE_CURRENT_SOURCE_DIR}/../apps/openssl/cert.pem\") | 12 | add_definitions(-D_PATH_SSL_CA_FILE=\"${CMAKE_CURRENT_SOURCE_DIR}/../apps/openssl/cert.pem\") |