Build-system tweak

This commit is contained in:
Jack Andersen 2015-07-07 18:25:36 -10:00
parent 4416d51c46
commit 9e31e9e2b9
1 changed files with 1 additions and 2 deletions

View File

@ -1,8 +1,7 @@
include_directories(include)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
file(GLOB LOG_VISOR_HEADERS include/LogVisor/*.hpp)
add_library(LogVisor
lib/LogVisor.cpp
${LOG_VISOR_HEADERS})
include/LogVisor/LogVisor.hpp)
install(DIRECTORY include/LogVisor DESTINATION include/LogVisor)
set(LOG_VISOR_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "LogVisor include dir" FORCE)