Fixed WITH_PKCS11 option
This commit is contained in:
parent
4c452a96c4
commit
65938708c0
@ -15,7 +15,7 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
if(WITH_PKCS11 AND NOT WIN32)
|
if (PKCS11_FOUND)
|
||||||
winpr_include_directory_add(${PKCS11_INCLUDE_DIR})
|
winpr_include_directory_add(${PKCS11_INCLUDE_DIR})
|
||||||
winpr_library_add_public(${PKCS11_LIBRARY})
|
winpr_library_add_public(${PKCS11_LIBRARY})
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ if(WITH_PKCS11 AND NOT WIN32)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WITH_PKCS11)
|
if (PKCS11_FOUND)
|
||||||
winpr_module_add(
|
winpr_module_add(
|
||||||
ncrypt_pkcs11.c
|
ncrypt_pkcs11.c
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user