Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 45 lines 1.6 kB view raw
1diff --git a/CMakeLists.txt b/CMakeLists.txt 2index b4b26e04..338858f8 100644 3--- a/CMakeLists.txt 4+++ b/CMakeLists.txt 5@@ -149,11 +149,8 @@ set(CXX_STANDARD_REQUIRED ON) 6 7 if(WIN32) 8 set(WITH_AUTOUPDATES 1) 9- add_subdirectory(tools/updateinstaller) 10 endif() 11 12-add_subdirectory(tools/updaterevision) 13- 14 add_subdirectory(src/core) 15 add_subdirectory(src/plugins) 16 17diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt 18index 089e3889..8add598d 100644 19--- a/src/core/CMakeLists.txt 20+++ b/src/core/CMakeLists.txt 21@@ -50,13 +50,6 @@ configure_file(doomseeker_copts.h.in doomseeker_copts.h) 22 option(DOOMSEEKER_INSTALL_NONFREE "Install non-free resources?" ${DEFAULT_NONFREE_INSTALL}) 23 set(DOOMSEEKER_IP2C_DAT "" CACHE FILEPATH "Path to IpToCountry.dat; optional") 24 25-# Get the revision from vcs 26-add_custom_target(revision_check ALL 27- COMMAND updaterevision ${CMAKE_CURRENT_SOURCE_DIR}/gitinfo.h 28- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} 29- DEPENDS updaterevision 30-) 31- 32 # In case gitinfo.h isn't yet generated create a dummy file so our file listing 33 # will contain it. We can't just add it to the file listing since then CMake 34 # would complain that it doesn't exist. 35@@ -178,10 +171,6 @@ endif() 36 37 target_compile_definitions(doomseeker PRIVATE "-DINSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\"" "-DINSTALL_LIBDIR=\"${CMAKE_INSTALL_LIBDIR}\"") 38 39-# Make sure the vcs version file is created before we attempt to compile 40-# Doomseeker. 41-add_dependencies(doomseeker revision_check) 42- 43 target_link_libraries(doomseeker 44 LINK_PRIVATE 45 Wadseeker::wadseeker