mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
OP-1390 Copy only opengl32.dll 32bit version
This commit is contained in:
parent
db63158bc6
commit
05e7339ecc
@ -159,8 +159,7 @@ GCS_LIBRARY_PATH
|
||||
platforms \
|
||||
mediaservice \
|
||||
sqldrivers \
|
||||
opengl32_32 \
|
||||
opengl32_64
|
||||
opengl32_32
|
||||
for(dir, QT_PLUGIN_DIRS) {
|
||||
data_copy.commands += -@$(MKDIR) $$targetPath(\"$$GCS_APP_PATH/$$dir\") $$addNewline()
|
||||
}
|
||||
@ -237,10 +236,9 @@ GCS_LIBRARY_PATH
|
||||
data_copy.commands += $(COPY_FILE) $$targetPath(\"$$(OPENSSL_DIR)/$$dll\") $$targetPath(\"$$GCS_APP_PATH/$$dll\") $$addNewline()
|
||||
}
|
||||
|
||||
# copy OpenGL DLLs
|
||||
# copy OpenGL DLL
|
||||
OPENGL_DLLS = \
|
||||
opengl32_32/opengl32.dll \
|
||||
opengl32_64/opengl32.dll
|
||||
opengl32_32/opengl32.dll
|
||||
for(dll, OPENGL_DLLS) {
|
||||
data_copy.commands += $(COPY_FILE) $$targetPath(\"$$(MESAWIN_DIR)/$$dll\") $$targetPath(\"$$GCS_APP_PATH/$$dll\") $$addNewline()
|
||||
}
|
||||
|
@ -256,12 +256,9 @@ SectionEnd
|
||||
; Copy Opengl32.dll if needed (disabled by default)
|
||||
Section /o "Mesa OpenGL driver" InSecInstallOpenGL
|
||||
SetOutPath "$INSTDIR\bin"
|
||||
${If} ${RunningX64}
|
||||
File /r "${GCS_BUILD_TREE}\bin\opengl32_64\opengl32.dll"
|
||||
${Else}
|
||||
File /r "${GCS_BUILD_TREE}\bin\opengl32_32\opengl32.dll"
|
||||
${EndIf}
|
||||
SectionEnd
|
||||
|
||||
; AeroSimRC plugin files
|
||||
Section "AeroSimRC plugin" InSecAeroSimRC
|
||||
SetOutPath "$INSTDIR\misc\AeroSIM-RC"
|
||||
|
Loading…
Reference in New Issue
Block a user