mirror of
https://github.com/jedisct1/minisign.git
synced 2025-04-04 11:27:42 +03:00
Try setting LINK_SEARCH_END_STATIC
This commit is contained in:
parent
c78fe77559
commit
8bd7ec0197
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ add_executable(minisign
|
|||
target_include_directories(minisign PUBLIC ${sodium_INCLUDE_DIR})
|
||||
|
||||
if(LIBSODIUM_STATIC)
|
||||
set_target_properties(minisign PROPERTIES LINK_SEARCH_END_STATIC ON)
|
||||
target_compile_options(minisign PUBLIC ${LIBSODIUM_STATIC_CFLAGS} ${LIBSODIUM_CFLAGS_STATIC_OTHER})
|
||||
target_link_libraries(minisign ${LIBSODIUM_STATIC_LDFLAGS} ${LIBSODIUM_STATIC_LDFLAGS_OTHER})
|
||||
else(LIBSODIUM_STATIC)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue