aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/src/lib/projectM/cwrapper/CMakeLists.txt
blob: acca302571c50b2eb9275ae1b8173020d1b69f25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $URL$
# $Id$
if(libprojectM_USE_CWRAPPER)
  include_directories(${libprojectM_INCLUDEDIR}/libprojectM)
  add_definitions(-DPROJECTM_VERSION_INT=${libprojectM_VERSION_INT})

  set(projectm_cwrapper_srcs projectM-cwrapper.cpp)
  if(WIN32)
    add_library(projectM-cwrapper SHARED ${projectm_cwrapper_srcs})
  else(WIN32)
    add_library(projectM-cwrapper STATIC ${projectm_cwrapper_srcs})
  endif(WIN32)
endif(libprojectM_USE_CWRAPPER)