From: José Fonseca Date: Thu, 10 Nov 2011 05:55:47 +0000 (+0000) Subject: Build egltrace.so into the wrapper dir. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=e9eb9415758931003ab13486abf44b8feae411b6;p=apitrace Build egltrace.so into the wrapper dir. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f74914..77abbe5 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -456,12 +456,11 @@ if (EGL_FOUND) set_target_properties (egltrace PROPERTIES # avoid the default "lib" prefix PREFIX "" - ) - - # Prevent symbol relocations internal to our wrapper library to be - # overwritten by the application. - set_target_properties (egltrace PROPERTIES LINK_FLAGS "-Wl,-Bsymbolic -Wl,-Bsymbolic-functions" + # Prevent symbol relocations internal to our wrapper library to be + # overwritten by the application. + RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/wrappers + LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/wrappers ) target_link_libraries (egltrace dl)