From e9eb9415758931003ab13486abf44b8feae411b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 10 Nov 2011 05:55:47 +0000 Subject: [PATCH] Build egltrace.so into the wrapper dir. --- CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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) -- 2.43.0