Skip to content

Commit

Permalink
remove M_PI
Browse files Browse the repository at this point in the history
  • Loading branch information
gywn committed Nov 15, 2017
1 parent 8d89579 commit 113a07c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ project(color)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

add_library(color SHARED src/color.cpp src/conversion.cpp src/CIEDE2000.cpp)
target_include_directories(color PUBLIC include)
find_library(PythonLibs 3)

add_library(color SHARED src/debug.cpp src/conversion.cpp src/CIEDE2000.cpp)
target_include_directories(color PUBLIC include PRIVATE ${PYTHON_INCLUDE_DIR})

add_executable(testCIEDE2000 test/testCIEDE2000.cpp)
target_link_libraries(testCIEDE2000 color)
4 changes: 0 additions & 4 deletions include/color.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@

#include <ostream>

#ifndef M_PI
#define M_PI 3.14159265358979323846264338327950288 /* pi */
#endif

namespace color {
/** A color in CIELAB colorspace */
struct LAB {
Expand Down
File renamed without changes.

0 comments on commit 113a07c

Please sign in to comment.