#-------------------------------------------------------------- # Copy from src to build #-------------------------------------------------------------- if( ${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR} ) message(STATUS "same src and build dir.") else() message(STATUS "copy python-opengm files from src to build" ) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/__init__.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR} ) #file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/benchmark.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR} ) endif()