X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPyInterp%2FCMakeLists.txt;h=b540f098bd2e19c09bedc6e8892e3466bcd3f619;hb=e884d8b11e3cde0d41d80bb39e3108f4725c3917;hp=d7f7a53d6c02ef6447d832582a118431db4a5aed;hpb=678dd90d889ac8085a7211dccbb4519f96369d02;p=modules%2Fshaper.git diff --git a/src/PyInterp/CMakeLists.txt b/src/PyInterp/CMakeLists.txt index d7f7a53d6..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 ${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)