+
+ set_target_properties (glxtrace PROPERTIES
+ # avoid the default "lib" prefix
+ PREFIX ""
+ )
+
+ # Prevent symbol relocations internal to our wrapper library to be
+ # overwritten by the application.
+ if (NOT APPLE)
+ set_target_properties (glxtrace PROPERTIES
+ LINK_FLAGS "-Wl,-Bsymbolic -Wl,-Bsymbolic-functions"
+ )
+ endif (NOT APPLE)
+