Fixed: sheets_packer compilation

This commit is contained in:
kervala 2010-09-03 22:18:31 +02:00
parent e33a1eb875
commit 2f0e1ceb27
2 changed files with 2 additions and 6 deletions

View file

@ -6,7 +6,7 @@ ADD_EXECUTABLE(sheets_packer ${SRC}
${CMAKE_SOURCE_DIR}/ryzom/client/src/sheet_manager.cpp ${CMAKE_SOURCE_DIR}/ryzom/client/src/sheet_manager.cpp
${CMAKE_SOURCE_DIR}/ryzom/client/src/sheet_manager.h) ${CMAKE_SOURCE_DIR}/ryzom/client/src/sheet_manager.h)
INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/client/src) INCLUDE_DIRECTORIES(${LIBXML2_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/ryzom/client/src)
TARGET_LINK_LIBRARIES(sheets_packer TARGET_LINK_LIBRARIES(sheets_packer
ryzom_clientsheets ryzom_clientsheets
ryzom_gameshare ryzom_gameshare

View file

@ -58,11 +58,7 @@ static uint32 Version = 1; // Client Version.
// MAIN : // MAIN :
// Entry for the Apllication. // Entry for the Apllication.
//--------------------------------------------------- //---------------------------------------------------
#if defined(_WINDOWS)
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR cmdline, int nCmdShow)
#else
int main(int argc, char **argv) int main(int argc, char **argv)
#endif
{ {
///////////////////////////////// /////////////////////////////////
// Initialize the application. // // Initialize the application. //
@ -113,4 +109,4 @@ int main(int argc, char **argv)
// EXIT of the Application. // EXIT of the Application.
return EXIT_SUCCESS; return EXIT_SUCCESS;
}// main/WinMain // }// main //