ycm_core needs to be linked with librt under Linux
This commit is contained in:
parent
018e670324
commit
5175b88392
@ -207,6 +207,10 @@ if ( EXTRA_RPATH )
|
|||||||
set( CMAKE_INSTALL_RPATH "${EXTRA_RPATH}:${CMAKE_INSTALL_RPATH}" )
|
set( CMAKE_INSTALL_RPATH "${EXTRA_RPATH}:${CMAKE_INSTALL_RPATH}" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if ( UNIX )
|
||||||
|
set( EXTRA_LIBS rt )
|
||||||
|
endif()
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# Due to a bug/misconfiguration/stupidity, boost 1.52 and libc++ don't like each
|
# Due to a bug/misconfiguration/stupidity, boost 1.52 and libc++ don't like each
|
||||||
@ -228,6 +232,7 @@ target_link_libraries( ${PROJECT_NAME}
|
|||||||
BoostParts
|
BoostParts
|
||||||
${PYTHON_LIBRARIES}
|
${PYTHON_LIBRARIES}
|
||||||
${LIBCLANG_TARGET}
|
${LIBCLANG_TARGET}
|
||||||
|
${EXTRA_LIBS}
|
||||||
)
|
)
|
||||||
|
|
||||||
if ( LIBCLANG_TARGET )
|
if ( LIBCLANG_TARGET )
|
||||||
|
Loading…
Reference in New Issue
Block a user