]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Fixing CMake to allow inclusion as a sub-project.
authorabn <adrien.bruneton@cea.fr>
Thu, 28 Apr 2022 07:25:52 +0000 (09:25 +0200)
committerabn <adrien.bruneton@cea.fr>
Thu, 28 Apr 2022 07:25:52 +0000 (09:25 +0200)
CMakeLists.txt

index 87d8e78651a28198841887cbfe474097895f229a..2a84ec3d10c707cc560d6e5e94b2fdb807bf2d20 100644 (file)
@@ -275,7 +275,7 @@ IF(WIN32)
   ADD_DEFINITIONS("-D_USE_MATH_DEFINES")
 ENDIF(WIN32)
 
-INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR})
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
 
 ADD_SUBDIRECTORY(src)
 ADD_SUBDIRECTORY(adm_local)