gds-render/plugins/python-renderer/CMakeLists.txt

17 lines
479 B
CMake

project(pythonrenderer)
cmake_minimum_required(VERSION 2.8.8)
find_package(PythonLibs)
aux_source_directory(src SOURCES)
include_directories(${PYTHON_INCLUDE_DIRS} ${CMAKE_CURRENT_SOURCE_DIR}/include)
link_libraries(${PYTHON_LIBRARIES} version)
message("Python version found: ${PYTHONLIBS_VERSION_STRING}")
message(${PYTHON_LIBRARIES})
message(${PYTHON_INCLUDE_DIRS})
add_library(${PROJECT_NAME} SHARED EXCLUDE_FROM_ALL ${SOURCES})
add_dependencies(${PROJECT_NAME} version)