Skip to content

Commit

Permalink
make CHECK_INCLUDES optional; add to include only when present & working
Browse files Browse the repository at this point in the history
  • Loading branch information
Yao Yue committed May 3, 2016
1 parent 4a3a0fd commit bb298bc
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 @@ -122,15 +122,15 @@ find_package(Threads)
# where to find include files
include_directories(${include_directories}
"${PROJECT_BINARY_DIR}"
"include"
"${CHECK_INCLUDES}")
"include")

###################
# things to build #
###################

add_subdirectory(src)
if(CHECK_WORKING)
include_directories(${include_directories} "${CHECK_INCLUDES}")
add_subdirectory(test)
endif(CHECK_WORKING)

Expand Down

0 comments on commit bb298bc

Please sign in to comment.