Browse Source

add include_dir for enet_test

alex 2 years ago
parent
commit
d409d2d896
1 changed files with 1 additions and 0 deletions
  1. 1 0
      CMakeLists.txt

+ 1 - 0
CMakeLists.txt

@@ -20,6 +20,7 @@ endif()
 
 if (ENET_TEST)
     add_executable(enet_test test/build.c)
+    target_include_directories(enet_test PRIVATE ${PROJECT_SOURCE_DIR}/include)
 
     if (WIN32)
         target_link_libraries(enet_test PUBLIC winmm ws2_32)