mirror of
https://github.com/altlinux/admc.git
synced 2025-03-17 02:50:12 +03:00
use target_include_directories
\instead of set_target_properties INTERFACE_INCLUDE_DIRECTORIES
This commit is contained in:
parent
42f60de1b2
commit
925f529fe7
@ -56,7 +56,8 @@ if(Ldap_FOUND AND NOT TARGET Ldap::Ldap)
|
||||
lber
|
||||
)
|
||||
|
||||
set_target_properties(Ldap::Ldap PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${Ldap_INCLUDE_DIRS}"
|
||||
target_include_directories(Ldap::Ldap
|
||||
INTERFACE
|
||||
${Ldap_INCLUDE_DIRS}
|
||||
)
|
||||
endif()
|
||||
|
@ -46,7 +46,8 @@ if(Smbclient_FOUND AND NOT TARGET Smbclient::Smbclient)
|
||||
smbclient
|
||||
)
|
||||
|
||||
set_target_properties(Smbclient::Smbclient PROPERTIES
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${Smbclient_INCLUDE_DIRS}"
|
||||
target_include_directories(Smbclient::Smbclient
|
||||
INTERFACE
|
||||
${Smbclient_INCLUDE_DIRS}
|
||||
)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user