Fix linking with libcurl under MSW when using CMake
Enable CMP0060 policy to use full path for the library.
This commit is contained in:
committed by
Vadim Zeitlin
parent
1f504d3c5c
commit
13d0e0a152
@@ -59,6 +59,11 @@ if(POLICY CMP0054)
|
|||||||
cmake_policy(SET CMP0054 NEW)
|
cmake_policy(SET CMP0054 NEW)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(POLICY CMP0060)
|
||||||
|
# Link libraries by full path even in implicit directories.
|
||||||
|
cmake_policy(SET CMP0060 NEW)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(POLICY CMP0067)
|
if(POLICY CMP0067)
|
||||||
# Honor language standard in try_compile() source-file signature.
|
# Honor language standard in try_compile() source-file signature.
|
||||||
cmake_policy(SET CMP0067 NEW)
|
cmake_policy(SET CMP0067 NEW)
|
||||||
|
Reference in New Issue
Block a user