summaryrefslogtreecommitdiffstats
path: root/src/filter/gamma/CMakeLists.txt
blob: 9844625e6fbfc5bc22ab0a2c597421221018f8b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
set (SOURCES gamma.c)
set (TARGET gamma)

if (MSVC)
  set_source_files_properties (gamma.c PROPERTIES LANGUAGE CXX)
  set (SOURCES ${SOURCES} ${FREI0R_DEF})
endif (MSVC)

link_libraries(m)
add_library (${TARGET}  MODULE ${SOURCES})
set_target_properties (${TARGET} PROPERTIES PREFIX "")

install (TARGETS ${TARGET} LIBRARY DESTINATION ${LIBDIR})