win32/64 fixes
parent
4642c3fcec
commit
40de39362a
23
celestia.pro
23
celestia.pro
|
@ -553,14 +553,28 @@ win32 {
|
|||
windows/inc/libjpeg \
|
||||
windows/inc/lua \
|
||||
windows/inc/spice
|
||||
LIBS += -Lwindows/lib/x86 \
|
||||
!contains(QMAKE_TARGET.arch, x86_64) {
|
||||
LIBS += -L$$PWD/windows/lib/x86 \
|
||||
-lzlib \
|
||||
-llibpng \
|
||||
-llibjpeg \
|
||||
-llua51 \
|
||||
-lcspice \
|
||||
-lvfw32\
|
||||
-llibintl
|
||||
}
|
||||
else{
|
||||
LIBS += -L$$PWD/windows/lib/x64 \
|
||||
-lzlib \
|
||||
-llibpng \
|
||||
-llibjpeg \
|
||||
-lintl \
|
||||
-llua51 \
|
||||
-lcspice \
|
||||
-lvfw32
|
||||
-lcspice64 \
|
||||
-lvfw32\
|
||||
-llibintl
|
||||
}
|
||||
LIBS +=opengl32.lib -lglu32 -lUser32
|
||||
|
||||
SOURCES += src/celestia/avicapture.cpp
|
||||
HEADERS += src/celestia/avicapture.h
|
||||
|
@ -571,7 +585,6 @@ win32 {
|
|||
# Disable the regrettable min and max macros in windows.h
|
||||
DEFINES += NOMINMAX
|
||||
|
||||
LIBS += /nodefaultlib:libcmt.lib
|
||||
}
|
||||
|
||||
unix {
|
||||
|
@ -725,4 +738,4 @@ unix {
|
|||
INSTALLS += target data textures lores_textures hires_textures \
|
||||
flares models shaders fonts scripts locale extras extras-standard \
|
||||
configuration desktop icon128
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
using namespace std;
|
||||
|
||||
|
||||
extern "C" { FILE __iob_func[3] = { *stdin,*stdout,*stderr }; }
|
||||
static const char *description = "Celestia";
|
||||
|
||||
// Command line options
|
||||
|
|
Loading…
Reference in New Issue