Build: Use cmstd
target instead of variable CMAKE_STD_LIBRARY
This commit is contained in:
parent
35ad2c6e5f
commit
20b9808f90
@ -407,7 +407,6 @@ macro(CMAKE_BUILD_UTILITIES)
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
# Build CMake std library for CMake and CTest.
|
||||
set(CMAKE_STD_LIBRARY cmstd)
|
||||
add_subdirectory(Utilities/std)
|
||||
CMAKE_SET_TARGET_FOLDER(cmstd "Utilities/std")
|
||||
|
||||
|
@ -751,8 +751,8 @@ target_include_directories(
|
||||
target_link_libraries(
|
||||
CMakeLib
|
||||
PUBLIC
|
||||
cmstd
|
||||
cmsys
|
||||
${CMAKE_STD_LIBRARY}
|
||||
${CMAKE_EXPAT_LIBRARIES} ${CMAKE_ZLIB_LIBRARIES}
|
||||
${CMAKE_TAR_LIBRARIES}
|
||||
${CMAKE_CURL_LIBRARIES}
|
||||
|
Loading…
Reference in New Issue
Block a user