diff --git a/CMakeLists.txt b/CMakeLists.txt index ef2fcb3e69..58fd6312d5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -336,9 +336,8 @@ endforeach() # Add the binary directory first, so that port.h is included after it has # been generated. +include_directories(${PROJECT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) target_include_directories(${PROJECT_NAME} PUBLIC - $ - $ $ )