seems windows has no problem with unix set_target_properties

This commit is contained in:
Geoff McLane 2015-01-24 13:21:33 +01:00
parent d37c7e7cab
commit ef69056959

View file

@ -108,19 +108,12 @@ if (MSVC)
endif () endif ()
set(name lib-tidy) set(name lib-tidy)
add_library ( ${name} ${LIB_TYPE} ${CFILES} ${HFILES} ${LIBHFILES} ) add_library ( ${name} ${LIB_TYPE} ${CFILES} ${HFILES} ${LIBHFILES} )
if (MSVC) set_target_properties( ${name} PROPERTIES
set_target_properties( ${name} PROPERTIES OUTPUT_NAME tidy5
DEBUG_OUTPUT_NAME tidy5d )
RELEASE_OUTPUT_NAME tidy5 set_target_properties( ${name} PROPERTIES
) VERSION ${LIBTIDY_VERSION}
else () SOVERSION ${TIDY_MAJOR_VERSION} )
set_target_properties( ${name} PROPERTIES
OUTPUT_NAME tidy5
)
set_target_properties( ${name} PROPERTIES
VERSION ${LIBTIDY_VERSION}
SOVERSION ${TIDY_MAJOR_VERSION} )
endif ()
list ( APPEND add_LIBS ${name} ) list ( APPEND add_LIBS ${name} )
install(TARGETS ${name} install(TARGETS ${name}
RUNTIME DESTINATION bin RUNTIME DESTINATION bin