mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-08-25 14:02:59 +03:00
Compare commits
3 Commits
04912037c0
...
d4d20e4443
Author | SHA1 | Date | |
---|---|---|---|
|
d4d20e4443 | ||
|
a45219bb78 | ||
|
1d57ccf94a |
@ -90,10 +90,7 @@ if(WIN32)
|
|||||||
add_subdirectory(3rdparty/liboqs)
|
add_subdirectory(3rdparty/liboqs)
|
||||||
add_subdirectory(3rdparty/oqs-provider)
|
add_subdirectory(3rdparty/oqs-provider)
|
||||||
|
|
||||||
target_include_directories(oqsprovider PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/3rdparty/liboqs/include)
|
target_include_directories(oqsprovider PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/3rdparty/liboqs/include)
|
||||||
get_target_property(target_include_dirs oqsprovider INCLUDE_DIRECTORIES)
|
|
||||||
message("Include directories for target_name: ${target_include_dirs}")
|
|
||||||
|
|
||||||
set_property(TARGET oqsprovider PROPERTY POSITION_INDEPENDENT_CODE ON)
|
set_property(TARGET oqsprovider PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
target_link_libraries(mayaqua PRIVATE oqsprovider)
|
target_link_libraries(mayaqua PRIVATE oqsprovider)
|
||||||
endif()
|
endif()
|
||||||
@ -128,9 +125,6 @@ if(UNIX)
|
|||||||
add_subdirectory(3rdparty/oqs-provider)
|
add_subdirectory(3rdparty/oqs-provider)
|
||||||
|
|
||||||
target_include_directories(oqsprovider PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/3rdparty/liboqs/include)
|
target_include_directories(oqsprovider PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/3rdparty/liboqs/include)
|
||||||
get_target_property(target_include_dirs oqsprovider INCLUDE_DIRECTORIES)
|
|
||||||
message("Include directories for target_name: ${target_include_dirs}")
|
|
||||||
|
|
||||||
set_property(TARGET oqsprovider PROPERTY POSITION_INDEPENDENT_CODE ON)
|
set_property(TARGET oqsprovider PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
target_link_libraries(mayaqua PRIVATE oqsprovider)
|
target_link_libraries(mayaqua PRIVATE oqsprovider)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user