Skip to content

Commit

Permalink
Move the main file to the root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-koyama committed Jul 3, 2018
1 parent fc10da9 commit 14c927e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.1)
project(tinycolormap CXX)
set(CMAKE_CXX_STANDARD 11)

install(FILES ${CMAKE_SOURCE_DIR}/include/tinycolormap.hpp DESTINATION include)
install(FILES ${CMAKE_SOURCE_DIR}/tinycolormap.hpp DESTINATION include)

option(TINYCOLORMAP_BUILD_TOOLS "Build tools" OFF)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This colormap is designed to mimic the color scheme used in GitHub contributions
## Installation

tinycolormap is a header-only library, so you do not need to compile it. You can use it by
- Adding the path to the `include` directory of tinycolormap to your project's include paths, or
- Adding the path to the cloned tinycolormap repository to your project's include paths, or
- Copying the file `tinycolormap.hpp` to your project (note that tinycolormap consists of only that single file).

If your project is managed by Cmake <https://cmake.org/>, then the `ExternalProject_Add` is useful as tinycolormap provides `CMakeLists.txt` for this purpose.
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/png-exporter/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ find_package(Qt5 COMPONENTS Gui REQUIRED)

include_directories(${EIGEN3_INCLUDE_DIR})
include_directories(${Qt5Gui_INCLUDE_DIRS})
include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${CMAKE_SOURCE_DIR})

file(GLOB files *.cpp *.h)

Expand Down

0 comments on commit 14c927e

Please sign in to comment.