Skip to content
This repository was archived by the owner on Apr 13, 2019. It is now read-only.

Commit e7f4fca

Browse files
Glenn ScottGlenn Scott
authored andcommitted
Moved include_directories to include from the source directory before the build or install directories
1 parent 8b7eb1e commit e7f4fca

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ include( detectCacheSize )
1919

2020
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
2121

22+
include_directories(${PROJECT_SOURCE_DIR} ${PROJECT_BINARY_DIR}/ccnx/forwarder/metis)
23+
2224
include_directories($ENV{CCNX_DEPENDENCIES}/include)
2325
set(OPENSSL_ROOT_DIR $ENV{CCNX_DEPENDENCIES})
2426

@@ -44,10 +46,6 @@ find_package ( Threads REQUIRED )
4446

4547
find_package ( OpenSSL REQUIRED )
4648

47-
include_directories(${PROJECT_BINARY_DIR}/ccnx/forwarder/metis
48-
${PROJECT_SOURCE_DIR}
49-
)
50-
5149
find_package( Doxygen )
5250

5351
set(METIS_LINK_LIBRARIES

0 commit comments

Comments
 (0)