aboutsummaryrefslogtreecommitdiff
path: root/loader
diff options
context:
space:
mode:
authorIan Elliott <ian@LunarG.com>2015-02-04 15:19:32 -0700
committerIan Elliott <ian@lunarg.com>2015-02-05 11:06:32 -0700
commitf6ae2f94912adc8a57e46011224a8ffdab077fa2 (patch)
tree767c187ae19e9b074ccacffee32ceb61191222a9 /loader
parent6b7f1e57a774c606858b8424ae26779f296391b5 (diff)
downloadusermoji-f6ae2f94912adc8a57e46011224a8ffdab077fa2.tar.xz
Win: Eliminate VS2013 miscellaneous additional compiler warnings.
Diffstat (limited to 'loader')
-rw-r--r--loader/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt
index 46fe8142..2d2febfe 100644
--- a/loader/CMakeLists.txt
+++ b/loader/CMakeLists.txt
@@ -16,12 +16,13 @@ if (WIN32)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DXGL_PROTOTYPES -D_CRT_SECURE_NO_WARNINGS")
add_library(XGL SHARED loader.c dirent_on_windows.c dispatch.c table_ops.h)
+ set_target_properties(XGL PROPERTIES SOVERSION 0)
+ target_link_libraries(XGL)
endif()
if (NOT WIN32)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DXGL_PROTOTYPES")
add_library(XGL SHARED loader.c dispatch.c table_ops.h)
+ set_target_properties(XGL PROPERTIES SOVERSION 0)
+ target_link_libraries(XGL -ldl -lpthread)
endif()
-
-set_target_properties(XGL PROPERTIES SOVERSION 0)
-target_link_libraries(XGL -ldl -lpthread)