mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 16:35:41 +01:00
Fixed CMake symlinking on out-of-source builds
This commit is contained in:
parent
e8bac683c2
commit
3d52ab76f6
@ -20,6 +20,7 @@ Bugfix
|
|||||||
* Fix bug in RSA PKCS#1 v1.5 "reversed" operations
|
* Fix bug in RSA PKCS#1 v1.5 "reversed" operations
|
||||||
* Fixed testing with out-of-source builds using cmake
|
* Fixed testing with out-of-source builds using cmake
|
||||||
* Fixed version-major intolerance in server
|
* Fixed version-major intolerance in server
|
||||||
|
* Fixed CMake symlinking on out-of-source builds
|
||||||
|
|
||||||
= PolarSSL 1.3.4 released on 2014-01-27
|
= PolarSSL 1.3.4 released on 2014-01-27
|
||||||
Features
|
Features
|
||||||
|
@ -93,6 +93,7 @@ if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
|||||||
file(TO_NATIVE_PATH "${CMAKE_CURRENT_BINARY_DIR}/data_files" link)
|
file(TO_NATIVE_PATH "${CMAKE_CURRENT_BINARY_DIR}/data_files" link)
|
||||||
file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/data_files" target)
|
file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/data_files" target)
|
||||||
|
|
||||||
|
if (NOT EXISTS ${link})
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
set(command ln -s ${target} ${link})
|
set(command ln -s ${target} ${link})
|
||||||
else()
|
else()
|
||||||
@ -107,4 +108,5 @@ if (NOT ${CMAKE_CURRENT_BINARY_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
|
|||||||
message(FATAL_ERROR "Could not create symbolic link for: ${target} --> ${output}")
|
message(FATAL_ERROR "Could not create symbolic link for: ${target} --> ${output}")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user