Fix bad version variable (#510)

This commit is contained in:
Olivia (Zoe) 2024-03-28 06:06:44 +01:00 committed by GitHub
parent 9ef61bf224
commit 38d6da7755
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,8 +168,7 @@ if(BUILD_SHARED_LIBS)
)
# Set library version
set_target_properties(ixwebsocket PROPERTIES VERSION ${CMAKE_PROJECT_VERSION})
set_target_properties(ixwebsocket PROPERTIES VERSION ${PROJECT_VERSION})
else()
# Static library
add_library( ixwebsocket