Fix output artifact name under Cygwin (GH #466)

pull/474/head
Jeffrey Walton 2017-08-26 22:34:10 -04:00
parent 33d20af445
commit 67a24ec75a
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ if (BUILD_TESTING)
target_link_libraries(cryptest cryptopp-static)
# Setting "cryptest" binary name to "cryptest.exe"
if (NOT WIN32)
if (NOT (WIN32 OR CYGWIN))
set_target_properties(cryptest PROPERTIES OUTPUT_NAME cryptest.exe)
endif ()
if (NOT TARGET cryptest.exe)