Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:PunisherHD:Trinity:r14.0.x
kcmldapcontroller
one.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File one.patch of Package kcmldapcontroller
diff --git a/CMakeLists.txt b/CMakeLists.txt index 637a17c..5033b70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,9 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" ##### directories add_subdirectory( src ) -add_subdirectory( acl-updater ) +if ( SLAPI_LIBRARIES ) + add_subdirectory( acl-updater ) +endif ( SLAPI_LIBRARIES ) add_subdirectory( cert-updater ) add_subdirectory( confskel ) add_subdirectory( pics ) diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake index 427373c..3bfbc8b 100644 --- a/ConfigureChecks.cmake +++ b/ConfigureChecks.cmake @@ -48,7 +48,7 @@ endif( HAVE_LIBLDAP ) if( NOT DEFINED SLAPI_LIBRARIES ) message( STATUS "Looking for slapi library" ) find_library( HAVE_SLAPI slapi ) - if( HAVE_SLAPI ) + if(( HAVE_SLAPI ) AND ( NOT "${HAVE_SLAPI}" STREQUAL "HAVE_SLAPI-NOTFOUND" )) set( SLAPI_LIBRARIES slapi ) else() get_filename_component( LDAP_LIBDIR ${HAVE_LIBLDAP} PATH CACHE ) @@ -60,11 +60,14 @@ if( NOT DEFINED SLAPI_LIBRARIES ) ) if( LIBSLAPI_FILES ) list( GET LIBSLAPI_FILES 0 SLAPI_LIBRARIES ) - else( ) - tde_message_fatal( "The slapi library ( openldap-server ) is required, but was not found on your system" ) endif( ) - endif( HAVE_SLAPI ) - message( STATUS "Looking for slapi library - found ${SLAPI_LIBRARIES}" ) + endif( ) + + if( SLAPI_LIBRARIES ) + message( STATUS "Looking for slapi library - found ${SLAPI_LIBRARIES}" ) + else ( SLAPI_LIBRARIES ) + message( STATUS "Looking for slapi library - not found" ) + endif( SLAPI_LIBRARIES ) endif( )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor