mirror of https://github.com/AxioDL/logvisor.git
Build-system tweak
This commit is contained in:
parent
4416d51c46
commit
9e31e9e2b9
|
@ -1,8 +1,7 @@
|
||||||
include_directories(include)
|
include_directories(include)
|
||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
||||||
file(GLOB LOG_VISOR_HEADERS include/LogVisor/*.hpp)
|
|
||||||
add_library(LogVisor
|
add_library(LogVisor
|
||||||
lib/LogVisor.cpp
|
lib/LogVisor.cpp
|
||||||
${LOG_VISOR_HEADERS})
|
include/LogVisor/LogVisor.hpp)
|
||||||
install(DIRECTORY include/LogVisor DESTINATION include/LogVisor)
|
install(DIRECTORY include/LogVisor DESTINATION include/LogVisor)
|
||||||
set(LOG_VISOR_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "LogVisor include dir" FORCE)
|
set(LOG_VISOR_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include CACHE PATH "LogVisor include dir" FORCE)
|
||||||
|
|
Loading…
Reference in New Issue