Cache include path

This commit is contained in:
Phillip 2015-11-13 23:27:36 -08:00
parent 4c2442df2d
commit 048d59b58b
1 changed files with 3 additions and 0 deletions

View File

@ -2,4 +2,7 @@ include_directories(include)
add_library(LogVisor add_library(LogVisor
lib/LogVisor.cpp lib/LogVisor.cpp
include/LogVisor/LogVisor.hpp) include/LogVisor/LogVisor.hpp)
set(LOG_VISOR_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "LogVisor include path" FORCE)
install(DIRECTORY include/LogVisor DESTINATION include/LogVisor) install(DIRECTORY include/LogVisor DESTINATION include/LogVisor)