Commit a8de09b4 authored by Jose Fonseca's avatar Jose Fonseca

cmake: Ensure we use static libraries on Windows.

It would be nice to eventually get dynamic link libraries working with
WGL too, but for now ensure that we always do static as intended.

This might fix fdo bug 60352.
parent f232fa4d
......@@ -78,7 +78,7 @@ function(piglit_add_library name)
list(REMOVE_AT ARGV 0)
if(WIN32)
add_library(${name} ${ARGV})
add_library(${name} STATIC ${ARGV})
else(WIN32)
add_library(${name} SHARED ${ARGV})
install(TARGETS ${name} DESTINATION lib)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment