Skip to content
Snippets Groups Projects
Commit 9fdbd02f authored by jcarpent's avatar jcarpent
Browse files

[CMake] Handle compatiblity with mac

parent 693fecfd
No related branches found
No related tags found
No related merge requests found
...@@ -28,5 +28,8 @@ ENDIF(PYTHONQT_FOUND) ...@@ -28,5 +28,8 @@ ENDIF(PYTHONQT_FOUND)
IF(PYTHONQT_FOUND AND BUILD_PY_QGV) IF(PYTHONQT_FOUND AND BUILD_PY_QGV)
ADD_SUBDIRECTORY(pyqgv) ADD_SUBDIRECTORY(pyqgv)
ADD_SUBDIRECTORY(pyqcustomplot)
ENDIF(PYTHONQT_FOUND AND BUILD_PY_QGV) ENDIF(PYTHONQT_FOUND AND BUILD_PY_QGV)
IF(PYTHONQT_FOUND AND BUILD_PY_QCUSTOM_PLOT)
ADD_SUBDIRECTORY(pyqcustomplot)
ENDIF(PYTHONQT_FOUND AND BUILD_PY_QCUSTOM_PLOT)
...@@ -64,7 +64,8 @@ ADD_LIBRARY(${PLUGIN_NAME} SHARED ${${PLUGIN_NAME}_SOURCES} ...@@ -64,7 +64,8 @@ ADD_LIBRARY(${PLUGIN_NAME} SHARED ${${PLUGIN_NAME}_SOURCES}
${${PLUGIN_NAME}_RESOURCES_RCC} ${${PLUGIN_NAME}_RESOURCES_RCC}
) )
TARGET_LINK_LIBRARIES(${PLUGIN_NAME} ${QT_LIBRARIES} ${PYTHONQT_LIBRARIES}) TARGET_LINK_LIBRARIES(${PLUGIN_NAME} ${QT_LIBRARIES} ${PYTHONQT_LIBRARIES} ${PROJECT_NAME})
PKG_CONFIG_USE_DEPENDENCY(${PLUGIN_NAME} omniORB4)
# Uncomment to install # Uncomment to install
INSTALL(TARGETS ${PLUGIN_NAME} DESTINATION lib/gepetto-gui-plugins) INSTALL(TARGETS ${PLUGIN_NAME} DESTINATION lib/gepetto-gui-plugins)
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