File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11# CMakeLists.txt has to be located in the project folder and cmake has to be
22# executed from 'project/build' with 'cmake ../'.
3- cmake_minimum_required (VERSION 2.6 )
3+ cmake_minimum_required (VERSION 3.0 )
44find_package (Rock)
5+ project (lib_config VERSION 0.1)
56SET ( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11" )
67
7- rock_init(lib_config 0.1 )
8+ rock_init()
89include_directories (src)
910rock_standard_layout()
1011
Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ message(STATUS "PYTHON_INCLUDE_DIRS = ${PYTHON_INCLUDE_DIRS}")
1818message (STATUS "Boost_LIBRARIES = ${Boost_LIBRARIES} " )
1919message (STATUS "PYTHON_INSTALL_PATH = ${PYTHON_INSTALL_PATH} " )
2020
21-
22- INCLUDE_DIRECTORIES (${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS} )
21+ INCLUDE_DIRECTORIES (${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_DIRS} ${yaml-cpp_PKGCONFIG_INCLUDE_DIRS})
2322
2423PYTHON_ADD_MODULE(bundle bundle .cpp)
2524set_target_properties (bundle PROPERTIES PREFIX "" )
2625target_link_libraries (bundle
2726 ${Boost_LIBRARIES}
2827 lib_config
2928 ${PYTHON_LIBRARIES}
29+ ${yaml-cpp_PKGCONFIG_LIBRARIES}
3030)
3131
3232add_custom_target (rockpy
You can’t perform that action at this time.
0 commit comments