Skip to content

Commit 15795fd

Browse files
committed
Build: Point game to correct refresh/game library path
1 parent 2f96a15 commit 15795fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
set (quake_resource_libdir ${CMAKE_INSTALL_PREFIX}/lib/quake2sdl)
2-
set (quake_resource_datadir ${CMAKE_INSTALL_PREFIX}/share/quake2)
1+
set (quake_resource_libdir /usr/local/lib/quake2sdl)
2+
set (quake_resource_datadir /usr/local/share/quake2)
33
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/q_resources.h.in ${CMAKE_CURRENT_BINARY_DIR}/q_resources.h)
44

55
include_directories (${SDL2_INCLUDE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
@@ -133,7 +133,7 @@ add_library (game-base SHARED
133133
game/p_weapon.c
134134
game/q_shared.c
135135
game/m_flash.c)
136-
set_target_properties (game-base PROPERTIES OUTPUT_NAME game PREFIX "")
136+
set_target_properties (game-base PROPERTIES OUTPUT_NAME gamei386 PREFIX "")
137137

138138
install (TARGETS quake2 RUNTIME DESTINATION bin)
139139
install (TARGETS ref-softsdl LIBRARY DESTINATION lib/quake2sdl)

0 commit comments

Comments
 (0)