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

19 lines
644 B
Diff

--- qbsp/CMakeLists.txt.orig 2019-03-25 22:56:31.000000000 -0400
+++ qbsp/CMakeLists.txt 2019-10-30 10:31:31.470593481 -0400
@@ -1,11 +1,11 @@
cmake_minimum_required (VERSION 2.8)
-project (qbsp CXX)
+project (ericw-qbsp CXX)
add_definitions(-DDOUBLEVEC_T)
-add_executable(qbsp ${QBSP_SOURCES} main.cc)
-target_link_libraries(qbsp ${CMAKE_THREAD_LIBS_INIT})
-install(TARGETS qbsp RUNTIME DESTINATION bin)
+add_executable(ericw-qbsp ${QBSP_SOURCES} main.cc)
+target_link_libraries(ericw-qbsp ${CMAKE_THREAD_LIBS_INIT})
+install(TARGETS ericw-qbsp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
# test (copied from light/CMakeLists.txt)