librhash/CMakeLists.txt: Use standard library name

This call to set_target_properties would typically remove the "lib"
prefix from the library name for no reason, causing some systems to not
be able to find it when calling find_package().


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9608 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 542ac1c48c1764c5af5bd7f0901d05add1554e66
Former-commit-id: 654e67eaae7a5386af726da3b9457797a41c2cb1
This commit is contained in:
xavi92 2024-10-27 08:10:09 +00:00
parent 60bc291cf6
commit 04be4cf6bc

View file

@ -72,7 +72,6 @@ set(HEADER_FILES "aich.h"
"whirlpool.h") "whirlpool.h")
add_library(${PROJECT_NAME} ${SOURCE_FILES} ${HEADER_FILES}) add_library(${PROJECT_NAME} ${SOURCE_FILES} ${HEADER_FILES})
set_target_properties(${PROJECT_NAME} PROPERTIES OUTPUT_NAME "${CMAKE_PROJECT_NAME}")
if(USE_OPENSSL) if(USE_OPENSSL)
find_package(OpenSSL REQUIRED) find_package(OpenSSL REQUIRED)