diff options
author | Brian Hinz <bphinz@users.sourceforge.net> | 2013-04-27 20:14:50 +0000 |
---|---|---|
committer | Brian Hinz <bphinz@users.sourceforge.net> | 2013-04-27 20:14:50 +0000 |
commit | 491b9505c226801ff7e71db6fd42ed8e32f7768f (patch) | |
tree | 147930a429c256cd4bb5db1fed191dd53e700169 | |
parent | 607c9d0e5901bca2b95824c0accb8435a41bb50e (diff) | |
download | tigervnc-491b9505c226801ff7e71db6fd42ed8e32f7768f.tar.gz tigervnc-491b9505c226801ff7e71db6fd42ed8e32f7768f.zip |
Use CMAKE_COMMAND variable instead of hard coded cmake executable name for better portability.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5088 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | cmake/Modules/CMakeMacroLibtoolFile.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/CMakeMacroLibtoolFile.cmake b/cmake/Modules/CMakeMacroLibtoolFile.cmake index 0cf7b9fb..0afb7a62 100644 --- a/cmake/Modules/CMakeMacroLibtoolFile.cmake +++ b/cmake/Modules/CMakeMacroLibtoolFile.cmake @@ -101,8 +101,8 @@ macro(libtool_create_control_file _target) # 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_BINARY_DIR}/.libs") + "${CMAKE_COMMAND}" -E make_directory "${CMAKE_CURRENT_BINARY_DIR}/.libs") add_custom_command(TARGET ${_target} POST_BUILD COMMAND - cmake -E create_symlink ${_target_location} "${CMAKE_CURRENT_BINARY_DIR}/.libs/${_lname}${CMAKE_STATIC_LIBRARY_SUFFIX}") + "${CMAKE_COMMAND}" -E create_symlink ${_target_location} "${CMAKE_CURRENT_BINARY_DIR}/.libs/${_lname}${CMAKE_STATIC_LIBRARY_SUFFIX}") endmacro() |