cmake: fix shared lib properties
@@ -341,12 +341,13 @@ endif()
target_link_libraries(re -L/opt/local/lib -lssl -lcrypto -lpthread)
-set_target_properties(re PROPERTIES VERSION ${PROJECT_VERSION})
-set_target_properties(re PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR})
set_target_properties(re PROPERTIES POSITION_INDEPENDENT_CODE 1)
set_target_properties(re PROPERTIES PUBLIC_HEADER include/re.h)
+set_target_properties(re-shared PROPERTIES VERSION ${PROJECT_VERSION})
+set_target_properties(re-shared PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR})
set_target_properties(re-shared PROPERTIES OUTPUT_NAME "re")
+
set_target_properties(re-static PROPERTIES OUTPUT_NAME "re")
target_include_directories(re PRIVATE .)
