X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPyInterp%2FCMakeLists.txt;h=b540f098bd2e19c09bedc6e8892e3466bcd3f619;hb=e884d8b11e3cde0d41d80bb39e3108f4725c3917;hp=09585ebb8c6520fb53d1f4babbd94e534db0ae68;hpb=fe79131481b143cb13ff6a4ae1aab0b05fa8ab53;p=modules%2Fshaper.git diff --git a/src/PyInterp/CMakeLists.txt b/src/PyInterp/CMakeLists.txt index 09585ebb8..b540f098b 100644 --- a/src/PyInterp/CMakeLists.txt +++ b/src/PyInterp/CMakeLists.txt @@ -17,15 +17,16 @@ SET(PROJECT_AUTOMOC # sources / static SET(PROJECT_SOURCES - PyInterp_Dispatcher.cxx - PyInterp_Event.cxx - PyInterp_Interp.cxx - PyInterp_Request.cxx + PyInterp_Dispatcher.cpp + PyInterp_Event.cpp + PyInterp_Interp.cpp + PyInterp_Request.cpp ) SET(PROJECT_LIBRARIES PyEvent - ${Qt5Core_LIBRARIES} + ${QT_LIBRARIES} + ${PYTHON_LIBRARIES} ) SOURCE_GROUP ("Generated Files" FILES ${PROJECT_AUTOMOC}) @@ -36,11 +37,11 @@ INCLUDE_DIRECTORIES( ${PROJECT_SOURCE_DIR}/src/PyEvent ) -ADD_LIBRARY(PyInterp STATIC +ADD_LIBRARY(PyInterp SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS} ) TARGET_LINK_LIBRARIES(PyInterp ${PROJECT_LIBRARIES}) -#INSTALL(TARGETS PyInterp DESTINATION bin) +INSTALL(TARGETS PyInterp DESTINATION bin)