Skip to content

Commit

Permalink
Fix XMakeLists.txt to function as a submodule (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolivier01 authored and tqchen committed May 31, 2017
1 parent a6e09b5 commit 29f826a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ if(BUILD_DOCS)
add_subdirectory(docs)
endif(BUILD_DOCS)

set(DLPACK_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include)
set(DLPACK_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include)

include_directories(${DLPACK_INCLUDE_DIR})
add_executable(mock ${CMAKE_SOURCE_DIR}/src/mock.cc)
add_executable(mock ${CMAKE_CURRENT_SOURCE_DIR}/src/mock.cc)


0 comments on commit 29f826a

Please sign in to comment.