Vero
Vero

Reputation: 331

Link a library using premake

What is the equivalent syntax to write the below in premake?

#pragma comment(lib, "opengl32.lib")
#pragma comment(lib, "glu32.lib")

Upvotes: 0

Views: 417

Answers (1)

Vero
Vero

Reputation: 331

Just use:

links
{
    "opengl32.lib",
    "glu32.lib"
}

Thank you @dewaffled.

Upvotes: 0

Related Questions