]> AND Public Git Repository - simgrid.git/blobdiff - tools/cmake/Modules/FindNS3.cmake
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New method: MutexImpl::is_granted()
[simgrid.git] / tools / cmake / Modules / FindNS3.cmake
index 12722f95910b457e9b4b4b0ac9f0ef0ada8f7892..997587276c15b7de0d4883598db9f28a826f9ed6 100644 (file)
@@ -129,6 +129,7 @@ endif()
 set(SIMGRID_HAVE_NS3_GetNextEventTime FALSE)
 if(SIMGRID_HAVE_NS3)
   try_compile(compile_ns3 ${CMAKE_BINARY_DIR} ${CMAKE_HOME_DIRECTORY}/tools/cmake/test_prog/prog_ns3.cpp
+              CMAKE_FLAGS "-DINCLUDE_DIRECTORIES=${NS3_INCLUDE_DIR}" "-DLINK_DIRECTORIES=${NS3_LIBRARY_PATH}"
               LINK_LIBRARIES "${NS3_LIBRARIES}"
               OUTPUT_VARIABLE compile_ns3_output)
   if(NOT compile_ns3)