1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-16 19:31:02 +01:00
Clementine-audio-player-Mac.../3rdparty/libprojectm/NativePresetFactory/CMakeLists.txt
2010-06-07 11:37:37 +00:00

24 lines
663 B
CMake

PROJECT(NativePresetFactory)
cmake_minimum_required(VERSION 2.4.0)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
SET(NativePresetFactory_SOURCES NativePresetFactory.cpp)
if(WIN32)
find_library(DL_LIBRARIES dl)
endif(WIN32)
if(MSVC)
SET (MATH_LIBRARIES )
else(MSVC)
SET (MATH_LIBRARIES m)
endif(MSVC)
INCLUDE_DIRECTORIES(${projectM_SOURCE_DIR} ${Renderer_SOURCE_DIR})
ADD_LIBRARY(NativePresetFactory STATIC ${NativePresetFactory_SOURCES})
SET_TARGET_PROPERTIES(NativePresetFactory PROPERTIES VERSION 2.00 SOVERSION 2)
TARGET_LINK_LIBRARIES(NativePresetFactory Renderer ${MATH_LIBRARIES} ${DL_LIBRARIES})