diff --git a/CMakeLists.txt b/CMakeLists.txt index e99b27e..a3d6a8b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -727,11 +727,11 @@ if (GAME) endif() if (D3XP) - add_library(game${cpu}-d3xp SHARED ${src_d3xp}) - set_target_properties(game${cpu}-d3xp PROPERTIES PREFIX "") - set_target_properties(game${cpu}-d3xp 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(game${cpu}-d3xp PROPERTIES LINK_FLAGS "${ldflags}") - set_target_properties(game${cpu}-d3xp PROPERTIES INSTALL_NAME_DIR "@executable_path") - target_link_libraries(game${cpu}-d3xp idlib) + add_library(d3xp${cpu} SHARED ${src_d3xp}) + set_target_properties(d3xp${cpu} PROPERTIES PREFIX "") + set_target_properties(d3xp${cpu} PROPERTIES COMPILE_DEFINITIONS "GAME_DLL;_D3XP;CTF") + set_target_properties(d3xp${cpu} PROPERTIES COMPILE_FLAGS "-I${CMAKE_CURRENT_SOURCE_DIR}/d3xp") + set_target_properties(d3xp${cpu} PROPERTIES LINK_FLAGS "${ldflags}") + set_target_properties(d3xp${cpu} PROPERTIES INSTALL_NAME_DIR "@executable_path") + target_link_libraries(d3xp${cpu} idlib) endif()