Squashed 'libs/loguru/' content from commit eb2a694
git-subtree-dir: libs/loguru git-subtree-split: eb2a69416e178c9e4a4232afd6606fb4b2bb046e
This commit is contained in:
10
CMakeLists.txt
Normal file
10
CMakeLists.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
|
||||
project (loguru VERSION 0.0.1 LANGUAGES CXX C)
|
||||
|
||||
|
||||
IF(NOT TARGET loguru)
|
||||
add_library(loguru STATIC loguru.cpp loguru.hpp)
|
||||
target_include_directories(loguru PUBLIC .)
|
||||
target_compile_options(loguru PUBLIC -DLOGURU_WITH_STREAMS=1)
|
||||
target_link_libraries(loguru PUBLIC dl)
|
||||
ENDIF()
|
||||
Reference in New Issue
Block a user