Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Do not load internal headers when compiling the examples
[simgrid.git] / tools / cmake / UnitTesting.cmake
index 43af655..cd3f9a4 100644 (file)
@@ -46,4 +46,9 @@ ADD_CUSTOM_COMMAND(
 
 add_executable       (testall ${EXTRACTED_TEST_SOURCE_FILES})
 target_link_libraries(testall simgrid)
+set_property(
+    TARGET testall
+    APPEND PROPERTY
+           INCLUDE_DIRECTORIES "${INTERNAL_INCLUDES}"
+          )