1
0
Fork 0

[Dev] Use Libraries64 folder instead of Libraries/win64 on Windows

This commit is contained in:
Eric Kotato 2022-09-15 23:09:19 +03:00 committed by Eric Kotato
parent 0811c5f446
commit 96e388e7cb
2 changed files with 7 additions and 1 deletions

View file

@ -25,6 +25,7 @@ def run(project, arguments, buildType=''):
if sys.platform == 'win32': if sys.platform == 'win32':
if windowsArch == 'x64': if windowsArch == 'x64':
cmake.append('-Ax64') cmake.append('-Ax64')
basePath = scriptPath + '/../out64/' + buildType
else: else:
cmake.append('-AWin32') # default cmake.append('-AWin32') # default
elif windowsArch != '': elif windowsArch != '':

View file

@ -8,7 +8,12 @@ include(CMakeDependentOption)
set(DESKTOP_APP_SPECIAL_TARGET "" CACHE STRING "Use special platform target, like 'macstore' for Mac App Store.") set(DESKTOP_APP_SPECIAL_TARGET "" CACHE STRING "Use special platform target, like 'macstore' for Mac App Store.")
get_filename_component(libs_loc "../Libraries" REALPATH) if (build_win64)
get_filename_component(libs_loc "../Libraries64" REALPATH)
else()
get_filename_component(libs_loc "../Libraries" REALPATH)
endif()
set(libs_loc_exists 0) set(libs_loc_exists 0)
if (EXISTS ${libs_loc}) if (EXISTS ${libs_loc})
set(libs_loc_exists 1) set(libs_loc_exists 1)