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:
beaglejoe 2019-11-04 22:01:04 +00:00
parent 88fc10796e
commit a986c0c356

View file

@ -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)
FOREACH(CLONENAME ${RBM_CLONENAMES})