void-packages/srcpkgs/ericw-tools/patches/cmake-bspinfo.diff

20 lines
695 B
Diff

--- bspinfo/CMakeLists.txt.orig 2019-03-25 22:56:31.000000000 -0400
+++ bspinfo/CMakeLists.txt 2019-10-30 10:43:22.239319994 -0400
@@ -1,5 +1,5 @@
cmake_minimum_required (VERSION 2.8)
-project (bspinfo CXX)
+project (ericw-bspinfo CXX)
set(BSPINFO_SOURCES
bspinfo.cc
@@ -9,6 +9,6 @@
${CMAKE_SOURCE_DIR}/common/threads.cc
${COMMON_INCLUDES})
-add_executable(bspinfo ${BSPINFO_SOURCES})
-target_link_libraries(bspinfo ${CMAKE_THREAD_LIBS_INIT})
-install(TARGETS bspinfo RUNTIME DESTINATION bin)
+add_executable(ericw-bspinfo ${BSPINFO_SOURCES})
+target_link_libraries(ericw-bspinfo ${CMAKE_THREAD_LIBS_INIT})
+install(TARGETS ericw-bspinfo RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})