From: abn Date: Thu, 28 Apr 2022 07:25:52 +0000 (+0200) Subject: Fixing CMake to allow inclusion as a sub-project. X-Git-Tag: V9_9_1b1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=760d34dafdc40cd21e5da5439acb558e76b60fea;p=tools%2Fmedcoupling.git Fixing CMake to allow inclusion as a sub-project. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 87d8e7865..2a84ec3d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)