15 lines
255 B
CMake
15 lines
255 B
CMake
set(EXAMPLES
|
|
colorTransfer
|
|
gammaCorrection
|
|
grayscale
|
|
equalization
|
|
optimalTransport
|
|
)
|
|
|
|
foreach(EXAMPLE ${EXAMPLES})
|
|
add_executable(${EXAMPLE} ${EXAMPLE}.cpp)
|
|
if(UNIX)
|
|
target_link_libraries(${EXAMPLE} -lm)
|
|
endif()
|
|
endforeach()
|