seems windows has no problem with unix set_target_properties
This commit is contained in:
parent
d37c7e7cab
commit
ef69056959
|
@ -108,19 +108,12 @@ if (MSVC)
|
|||
endif ()
|
||||
set(name lib-tidy)
|
||||
add_library ( ${name} ${LIB_TYPE} ${CFILES} ${HFILES} ${LIBHFILES} )
|
||||
if (MSVC)
|
||||
set_target_properties( ${name} PROPERTIES
|
||||
DEBUG_OUTPUT_NAME tidy5d
|
||||
RELEASE_OUTPUT_NAME tidy5
|
||||
)
|
||||
else ()
|
||||
set_target_properties( ${name} PROPERTIES
|
||||
set_target_properties( ${name} PROPERTIES
|
||||
OUTPUT_NAME tidy5
|
||||
)
|
||||
set_target_properties( ${name} PROPERTIES
|
||||
set_target_properties( ${name} PROPERTIES
|
||||
VERSION ${LIBTIDY_VERSION}
|
||||
SOVERSION ${TIDY_MAJOR_VERSION} )
|
||||
endif ()
|
||||
list ( APPEND add_LIBS ${name} )
|
||||
install(TARGETS ${name}
|
||||
RUNTIME DESTINATION bin
|
||||
|
|
Loading…
Reference in a new issue