Skip to content
Snippets Groups Projects
Commit ca00692c authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

Fix client only installation.

parent e047c37d
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ ENDIF(APPLE)
# {{{ C++ and Python client.
# Dependencies
FINDPYTHON()
ADD_REQUIRED_DEPENDENCY("omniORB4 >= 4.1.4")
SET(${PROJECT_NAME}_HEADERS
......@@ -53,7 +54,6 @@ SET(${PROJECT_NAME}_HEADERS
# {{{ C++ server.
IF(NOT CLIENT_ONLY)
# {{{ Dependencies for the server.
FINDPYTHON()
# Tells pkg-config to read qtversion and cmake_plugin from pkg config file.
LIST(APPEND PKG_CONFIG_ADDITIONAL_VARIABLES qtversion cmake_plugin)
......
......@@ -118,7 +118,9 @@ ENDIF(NOT CLIENT_ONLY)
ADD_LIBRARY(${LIBRARY_NAME} SHARED ${${PROJECT_NAME}_SOURCES})
ADD_DEPENDENCIES (${LIBRARY_NAME} generate_idl_cpp)
ADD_DEPENDENCIES (${LIBRARY_NAME} generate_idl_python)
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} gepetto-viewer)
IF(NOT CLIENT_ONLY)
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} gepetto-viewer)
ENDIF(NOT CLIENT_ONLY)
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} omniORB4)
INSTALL(TARGETS ${LIBRARY_NAME} DESTINATION lib)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment