Rename game${cpu}-d3xp to d3xp${cpu}

This commit is contained in:
dhewg 2011-12-31 18:33:15 +01:00 committed by Daniel Gibson
parent 8e1fab5a5b
commit eab62d8ef3

View file

@ -727,11 +727,11 @@ if (GAME)
endif() endif()
if (D3XP) if (D3XP)
add_library(game${cpu}-d3xp SHARED ${src_d3xp}) add_library(d3xp${cpu} SHARED ${src_d3xp})
set_target_properties(game${cpu}-d3xp PROPERTIES PREFIX "") set_target_properties(d3xp${cpu} PROPERTIES PREFIX "")
set_target_properties(game${cpu}-d3xp PROPERTIES COMPILE_DEFINITIONS "GAME_DLL;_D3XP;CTF") set_target_properties(d3xp${cpu} PROPERTIES COMPILE_DEFINITIONS "GAME_DLL;_D3XP;CTF")
set_target_properties(game${cpu}-d3xp PROPERTIES COMPILE_FLAGS "-I${CMAKE_CURRENT_SOURCE_DIR}/d3xp") set_target_properties(d3xp${cpu} PROPERTIES COMPILE_FLAGS "-I${CMAKE_CURRENT_SOURCE_DIR}/d3xp")
set_target_properties(game${cpu}-d3xp PROPERTIES LINK_FLAGS "${ldflags}") set_target_properties(d3xp${cpu} PROPERTIES LINK_FLAGS "${ldflags}")
set_target_properties(game${cpu}-d3xp PROPERTIES INSTALL_NAME_DIR "@executable_path") set_target_properties(d3xp${cpu} PROPERTIES INSTALL_NAME_DIR "@executable_path")
target_link_libraries(game${cpu}-d3xp idlib) target_link_libraries(d3xp${cpu} idlib)
endif() endif()