cmake_minimum_required(VERSION 2.6)
project(c_to_python)
find_package(PythonLibs REQUIRED)
#include_directories("/usr/include/python2.7")
#target_link_libraries("/usr/lib/python2.7/config-x86_64-linux-gnu/")
include_directories(${PYTHON_INCLUDE_DIRS})
add_executable(c_to_python main.cpp)
#target_link_libraries(c_to_python "/usr/lib/python2.7/site-packages/")
#target_link_libraries(c_to_python "/usr/lib/python2.7/config-x86_64-linux-gnu")
target_link_libraries(c_to_python ${PYTHON_LIBRARIES})
project(c_to_python)
find_package(PythonLibs REQUIRED)
#include_directories("/usr/include/python2.7")
#target_link_libraries("/usr/lib/python2.7/config-x86_64-linux-gnu/")
include_directories(${PYTHON_INCLUDE_DIRS})
add_executable(c_to_python main.cpp)
#target_link_libraries(c_to_python "/usr/lib/python2.7/site-packages/")
#target_link_libraries(c_to_python "/usr/lib/python2.7/config-x86_64-linux-gnu")
target_link_libraries(c_to_python ${PYTHON_LIBRARIES})