diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e2dad2f1..e82a58cf3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,7 +40,8 @@ set(project_inc_dir "${CMAKE_CURRENT_LIST_DIR}/include/${PROJECT_NAME}") set(project_src_dir "${CMAKE_CURRENT_LIST_DIR}/src/${PROJECT_NAME}") include(nwx_cxx_api_docs) -nwx_cxx_api_docs("${project_inc_dir}") +nwx_cxx_api_docs("${CMAKE_CURRENT_SOURCE_DIR}/src" + "${CMAKE_CURRENT_SOURCE_DIR}/include")