Permalink
Browse files

CMake: install color.hpp & minor instruction fix

  • Loading branch information...
1 parent eeec648 commit 4c2572f1153e4d922906e8ae18e6c751ed6d0627 @caryoscelus caryoscelus committed Dec 31, 2016
Showing with 2 additions and 1 deletion.
  1. +1 −1 README.md
  2. +1 −0 synfig-core/src/synfig/color/CMakeLists.txt
View
@@ -99,7 +99,7 @@ $ popd # build
$ popd # synfig-core
$ pushd synfig-studio
$ mkdir build && pushd build
-$ cmake -GNinja ../src -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS="-fdiagnostics-color"
+$ cmake -GNinja .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS="-fdiagnostics-color"
$ cmake --build . -- all
# this will take a while; alternatively, you can move/copy required images
# to build/images directory and skip this step
@@ -6,6 +6,7 @@ target_sources(synfig
)
file(GLOB COLOR_HEADERS "${CMAKE_CURRENT_LIST_DIR}/*.h")
+set(COLOR_HEADERS ${COLOR_HEADERS} "${CMAKE_CURRENT_LIST_DIR}/color.hpp")
install(
FILES ${COLOR_HEADERS}

0 comments on commit 4c2572f

Please sign in to comment.