Salome HOME
It replaces direct names of constraints to the specific kind.
[modules/shaper.git] / src / PyInterp / CMakeLists.txt
index d7f7a53d6c02ef6447d832582a118431db4a5aed..b540f098bd2e19c09bedc6e8892e3466bcd3f619 100644 (file)
@@ -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)