summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-01-17 15:42:25 -0800
committerJohnathan Corgan <jcorgan@corganenterprises.com>2012-01-17 16:22:20 -0800
commit8736ac20a1a7def9a024aa9c934b7b95ffdef373 (patch)
treeb880abee63fffa9ea158f9143052cf7666e20899
parent58aba98d66be4024f9da62944b1cd440bdeae35e (diff)
cmake: fix for cmake 2.6 with library extras mode
OUTPUT_NAME is a target output name that should work with both 2.6 and 2.8 LIBRARY_OUTPUT_NAME is new to 2.8 and more specific
-rw-r--r--cmake/Modules/GrMiscUtils.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/GrMiscUtils.cmake b/cmake/Modules/GrMiscUtils.cmake
index 0e1f40027a..27003cf59c 100644
--- a/cmake/Modules/GrMiscUtils.cmake
+++ b/cmake/Modules/GrMiscUtils.cmake
@@ -155,7 +155,7 @@ function(GR_LIBRARY_FOO target)
GR_LIBTOOL(TARGET ${target} DESTINATION ${GR_LIBRARY_DIR})
#give the library a special name with ultra-zero soversion
- set_target_properties(${target} PROPERTIES LIBRARY_OUTPUT_NAME ${target}-${LIBVER} SOVERSION "0.0.0")
+ set_target_properties(${target} PROPERTIES OUTPUT_NAME ${target}-${LIBVER} SOVERSION "0.0.0")
set(target_name lib${target}-${LIBVER}.so.0.0.0)
#custom command to generate symlinks