Squelch Mac OS X warning during build. No version bump.
This commit is contained in:
parent
8f47c024ac
commit
7a4a544a5d
|
@ -17,7 +17,7 @@
|
||||||
# @date Consult git log.
|
# @date Consult git log.
|
||||||
##############################################################################
|
##############################################################################
|
||||||
|
|
||||||
cmake_minimum_required (VERSION 2.8.7)
|
cmake_minimum_required (VERSION 2.8.12)
|
||||||
|
|
||||||
set(LIB_NAME tidy)
|
set(LIB_NAME tidy)
|
||||||
set(LIBTIDY_DESCRIPTION "${LIB_NAME} - HTML syntax checker")
|
set(LIBTIDY_DESCRIPTION "${LIB_NAME} - HTML syntax checker")
|
||||||
|
@ -392,6 +392,9 @@ install( FILES ${HFILES} DESTINATION ${INCLUDE_INSTALL_DIR} )
|
||||||
#------------------------------------------------------------------------
|
#------------------------------------------------------------------------
|
||||||
if (BUILD_SHARED_LIB)
|
if (BUILD_SHARED_LIB)
|
||||||
set(name tidy-share)
|
set(name tidy-share)
|
||||||
|
if (UNIX AND APPLE)
|
||||||
|
set(CMAKE_MACOSX_RPATH 1)
|
||||||
|
endif ()
|
||||||
add_library ( ${name} SHARED ${CFILES} ${HFILES} ${LIBHFILES} )
|
add_library ( ${name} SHARED ${CFILES} ${HFILES} ${LIBHFILES} )
|
||||||
set_target_properties( ${name} PROPERTIES
|
set_target_properties( ${name} PROPERTIES
|
||||||
OUTPUT_NAME ${LIB_NAME} )
|
OUTPUT_NAME ${LIB_NAME} )
|
||||||
|
|
Loading…
Reference in a new issue