windows: CMakeLists.txt: Call the full package -full- instead of -client-server-

This commit is contained in:
Perttu Ahola 2014-10-05 10:57:41 +03:00
parent 68aa21cf6f
commit 0159cfe392

View File

@ -223,10 +223,11 @@ if(WIN32)
install(FILES "${URHO3D_HOME}/Bin/Urho3D.dll" DESTINATION "${DST_BIN}")
set(PACKAGE_NAME "${PROJECT_NAME}")
if(BUILD_CLIENT)
if(BUILD_CLIENT AND BUILD_SERVER)
set(PACKAGE_NAME "${PACKAGE_NAME}-full")
elseif(BUILD_CLIENT)
set(PACKAGE_NAME "${PACKAGE_NAME}-client")
endif()
if(BUILD_SERVER)
elseif(BUILD_SERVER)
set(PACKAGE_NAME "${PACKAGE_NAME}-server")
endif()
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
@ -244,4 +245,4 @@ if(WIN32)
message(STATUS "Run 'make install' to install, or 'make package' to create a package.")
endif()
# vim: set noet ts=4 sw=4:
# vim: set noet ts=4 sw=4: