Skip to content

Commit

Permalink
try more library paths
Browse files Browse the repository at this point in the history
  • Loading branch information
NQNStudios committed May 29, 2024
1 parent 1c9aed2 commit 6ed2a89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,13 @@ if platform == "darwin":
break
elif platform == "win32":
if 'msvc' in env['TOOLS']:
print("C:/vcpkg/packages/**_x" + env['bits'] + "-windows")
libpath = [("C:\Program Files (x86)\Microsoft Visual Studio " + env['MSVC_VERSION'] + "\VC\lib")] + Glob("C:/vcpkg/packages/**_x" + env['bits'] + "-windows") + Glob(os.environ['HOME'] + "/vcpkg/packages/**_x" + env['bits'] + "-windows")
print(libpath)
env.Append(
LINKFLAGS=['/SUBSYSTEM:WINDOWS','/ENTRY:mainCRTStartup','/MACHINE:X86'],
CXXFLAGS=['/EHsc','/MD','/FIglobal.hpp'],
LIBPATH=[("C:\Program Files (x86)\Microsoft Visual Studio " + env['MSVC_VERSION'] + "\VC\lib"), "C:/vcpkg/packages"],
LIBPATH=[("C:\Program Files (x86)\Microsoft Visual Studio " + env['MSVC_VERSION'] + "\VC\lib")] + Glob("C:/vcpkg/packages/**_x" + env['bits'] + "-windows") + Glob(os.environ['HOME'] + "/vcpkg/packages/**_x" + env['bits'] + "-windows"),
LIBS=Split("""
kernel32
user32
Expand Down

0 comments on commit 6ed2a89

Please sign in to comment.