]> granicus.if.org Git - curl/commitdiff
cmake: Remove unused CURL_CONFIG_HAS_BEEN_RUN_BEFORE variable
authorRuslan Baratov <ruslan_baratov@yahoo.com>
Mon, 29 Oct 2018 16:19:48 +0000 (19:19 +0300)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 30 Oct 2018 10:23:00 +0000 (11:23 +0100)
Closes #3191

CMakeLists.txt

index d7ad6caa169d0bfadaecaf17986a9150f3ddaaf8..a3c17c4520fcecf9bf37f34ae16cf4399daadd32 100644 (file)
@@ -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}