include_directories(${CMAKE_SOURCE_DIR}/src/include) add_subdirectory(tests) add_subdirectory(lib) add_subdirectory(bin) if(ENABLE_hdf5) add_subdirectory(opt/hdf5) endif() if(ENABLE_cereal) add_subdirectory(opt/cereal) endif() if(ENABLE_mpi) add_subdirectory(opt/mpi) endif() install(DIRECTORY include/ DESTINATION ${INSTALL_PATH}/include/cnorxz)