Skip to content

Commit

Permalink
Fix subproject find with COMMON_SOURCE_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
tribal-tec committed Jul 16, 2015
1 parent 73db843 commit 2e10a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion FindTuvok.cmake
Expand Up @@ -21,7 +21,7 @@ endif()

find_path(_TUVOK_INCLUDE_DIR NAMES Tuvok/StdTuvokDefines.h
HINTS ${PROJECT_SOURCE_DIR}/../../.. $ENV{TUVOK_ROOT} ${TUVOK_ROOT}
${CMAKE_SOURCE_DIR}
${CMAKE_SOURCE_DIR} ${COMMON_SOURCE_DIR}
PATH_SUFFIXES include
PATHS /usr/local /usr /opt )

Expand Down
2 changes: 1 addition & 1 deletion Findcppnetlib.cmake
Expand Up @@ -51,7 +51,7 @@ set(CPPNETLIB_PATH)
# Find headers
find_path(CPPNETLIB_INCLUDE_DIR boost/network.hpp
HINTS ${CPPNETLIB_ROOT}/include $ENV{CPPNETLIB_ROOT}/include
${CMAKE_SOURCE_DIR}/cppnetlib
${COMMON_SOURCE_DIR}/cppnetlib ${CMAKE_SOURCE_DIR}/cppnetlib
/usr/local/include
/usr/include)

Expand Down

0 comments on commit 2e10a0b

Please sign in to comment.