summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--Source/CMakeLists.txt2
2 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a50e222396..4179ce5b9d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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")
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 6c2daecd82..da7f015444 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -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}