Fix some CMake warnings #989 from Robert
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6751 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 8aa998a90af50fd1d51645f83ea53c72beae62be Former-commit-id: 8ba420cff6888acac0afcf3474c03acfc8933dd2
This commit is contained in:
parent
88fc10796e
commit
a986c0c356
1 changed files with 5 additions and 9 deletions
|
@ -175,15 +175,11 @@ MACRO(ROBOT_MODULE)
|
|||
# Install clone robot modules shared libraries (use ldconfig version naming scheme under Linux)
|
||||
IF(RBM_HAS_CLONENAMES AND RBM_CLONENAMES)
|
||||
|
||||
IF(WIN32)
|
||||
GET_TARGET_PROPERTY(MODLOC ${RBM_NAME} RUNTIME_OUTPUT_DIRECTORY)
|
||||
IF(NOT RUNTIME_OUTPUT_DIRECTORY)
|
||||
GET_TARGET_PROPERTY(MODLOC ${RBM_NAME} LIBRARY_OUTPUT_DIRECTORY)
|
||||
ENDIF()
|
||||
SET(MODLOC "${MODLOC}/${RBM_NAME}${CMAKE_SHARED_MODULE_SUFFIX}")
|
||||
ELSE(WIN32)
|
||||
GET_TARGET_PROPERTY(MODLOC ${RBM_NAME} LOCATION)
|
||||
ENDIF(WIN32)
|
||||
GET_TARGET_PROPERTY(MODLOC ${RBM_NAME} RUNTIME_OUTPUT_DIRECTORY)
|
||||
IF(NOT RUNTIME_OUTPUT_DIRECTORY)
|
||||
GET_TARGET_PROPERTY(MODLOC ${RBM_NAME} LIBRARY_OUTPUT_DIRECTORY)
|
||||
ENDIF()
|
||||
SET(MODLOC "${MODLOC}/${RBM_NAME}${CMAKE_SHARED_MODULE_SUFFIX}")
|
||||
|
||||
FOREACH(CLONENAME ${RBM_CLONENAMES})
|
||||
|
||||
|
|
Loading…
Reference in a new issue