diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt index a4e88bac0..cead8a294 100644 --- a/core/CMakeLists.txt +++ b/core/CMakeLists.txt @@ -47,7 +47,8 @@ add_subdirectory(platform) add_subdirectory(utils) # List sources in this directory. -set(SINGLE_THREADED_SOURCES reactor.c port.c) +set(SINGLE_THREADED_SOURCES reactor.c) +list(APPEND GENERAL_SOURCES port.c) # Determine which sources to include. list(APPEND SOURCES ${GENERAL_SOURCES})