Revision: 4487
http://tigervnc.svn.sourceforge.net/tigervnc/?rev=4487&view=rev
Author: dcommander
Date: 2011-06-09 22:06:05 +0000 (Thu, 09 Jun 2011)
Log Message:
-----------
libtool control file should be created in binary directory, not source
directory, to support out-of-tree builds.
Modified Paths:
--------------
trunk/cmake/Modules/CMakeMacroLibtoolFile.cmake
Modified: trunk/cmake/Modules/CMakeMacroLibtoolFile.cmake
===================================================================
--- trunk/cmake/Modules/CMakeMacroLibtoolFile.cmake 2011-06-09 20:47:14 UTC
(rev 4486)
+++ trunk/cmake/Modules/CMakeMacroLibtoolFile.cmake 2011-06-09 22:06:05 UTC
(rev 4487)
@@ -90,11 +90,11 @@
file(APPEND ${_laname} "libdir=''\n\n")
- # Add custom command to symlink the static library soo that autotools finds
the library in .libs
+ # Add custom command to symlink the static library so that autotools finds
the library in .libs
# these are executed after the specified target build.
add_custom_command(TARGET ${_target} POST_BUILD COMMAND
- cmake -E make_directory "${CMAKE_CURRENT_SOURCE_DIR}/.libs")
+ cmake -E make_directory "${CMAKE_CURRENT_BINARY_DIR}/.libs")
add_custom_command(TARGET ${_target} POST_BUILD COMMAND
- cmake -E create_symlink ${_target_location}
"${CMAKE_CURRENT_SOURCE_DIR}/.libs/${_lname}${CMAKE_STATIC_LIBRARY_SUFFIX}")
+ cmake -E create_symlink ${_target_location}
"${CMAKE_CURRENT_BINARY_DIR}/.libs/${_lname}${CMAKE_STATIC_LIBRARY_SUFFIX}")
-endmacro()
\ No newline at end of file
+endmacro()
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Tigervnc-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-commits