X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPyInterp%2FCMakeLists.txt;h=b540f098bd2e19c09bedc6e8892e3466bcd3f619;hb=f336bd42fdbf099f8fed4dc5288f4a2cef3a3dda;hp=09585ebb8c6520fb53d1f4babbd94e534db0ae68;hpb=7f56cee44d559d0edf9f1191ec61d732947e28f2;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)