Correct check for WIN32 in cmake files for programs

Condition was checking for Visual Studio, not use of WIN32

Signed-off-by: Simon Butcher <simon.butcher@arm.com>
This commit is contained in:
Simon Butcher
2018-03-14 16:44:22 +00:00
committed by Minos Galanakis
parent 34b8d83a22
commit 33425de128
5 changed files with 19 additions and 10 deletions

View File

@@ -5,9 +5,9 @@ set(libs
${mbedtls_target}
)
if(MSVC)
if(WIN32)
set(libs ${libs} bcrypt)
endif()
endif(WIN32)
set(executables
dtls_client