summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmake/piglit_util.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/piglit_util.cmake b/cmake/piglit_util.cmake
index 3a45e8a7d..d3cab44df 100644
--- a/cmake/piglit_util.cmake
+++ b/cmake/piglit_util.cmake
@@ -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)