aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRuslan Baratov <ruslan_baratov@yahoo.com>2018-10-29 19:19:48 +0300
committerDaniel Stenberg <daniel@haxx.se>2018-10-30 11:23:00 +0100
commit98d9a33de41f70f9f7ca8b82e69563475376387c (patch)
tree998f944751b8e66ddb87070f065cbcb99e99f598 /CMakeLists.txt
parent350306e4726b71b5b386fc30e3fecc039a807157 (diff)
cmake: Remove unused CURL_CONFIG_HAS_BEEN_RUN_BEFORE variable
Closes #3191
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d7ad6caa1..a3c17c452 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1300,11 +1300,6 @@ configure_file("${CURL_SOURCE_DIR}/libcurl.pc.in"
install(FILES "${CURL_BINARY_DIR}/libcurl.pc"
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
-# This needs to be run very last so other parts of the scripts can take advantage of this.
-if(NOT CURL_CONFIG_HAS_BEEN_RUN_BEFORE)
- set(CURL_CONFIG_HAS_BEEN_RUN_BEFORE 1 CACHE INTERNAL "Flag to track whether this is the first time running CMake or if CMake has been configured before")
-endif()
-
# install headers
install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/curl"
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}