Fix linking with libcurl under MSW when using CMake
Enable CMP0060 policy to use full path for the library.
This commit is contained in:
parent
1f504d3c5c
commit
13d0e0a152
1 changed files with 5 additions and 0 deletions
|
|
@ -59,6 +59,11 @@ if(POLICY CMP0054)
|
|||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0060)
|
||||
# Link libraries by full path even in implicit directories.
|
||||
cmake_policy(SET CMP0060 NEW)
|
||||
endif()
|
||||
|
||||
if(POLICY CMP0067)
|
||||
# Honor language standard in try_compile() source-file signature.
|
||||
cmake_policy(SET CMP0067 NEW)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue