source: CLRX/CLRadeonExtender/trunk/pkgconfig/CMakeLists.txt @ 3450

Last change on this file since 3450 was 3450, checked in by matszpk, 2 years ago

CLRadeonExtender: Add new library: CLRXCLHelper that facilitate creating binary/program for OpenCL. Use CLRXCLHelper in samples.

  • Property svn:mime-type set to text/plain
File size: 1.7 KB
Line 
1####
2#  CLRadeonExtender - Unofficial OpenCL Radeon Extensions Library
3#  Copyright (C) 2014-2017 Mateusz Szpakowski
4#
5#  This library is free software; you can redistribute it and/or
6#  modify it under the terms of the GNU Lesser General Public
7#  License as published by the Free Software Foundation; either
8#  version 2.1 of the License, or (at your option) any later version.
9#
10#  This library is distributed in the hope that it will be useful,
11#  but WITHOUT ANY WARRANTY; without even the implied warranty of
12#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13#  Lesser General Public License for more details.
14#
15#  You should have received a copy of the GNU Lesser General Public
16#  License along with this library; if not, write to the Free Software
17#  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
18####
19
20CMAKE_MINIMUM_REQUIRED(VERSION 2.8.1)
21
22CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/pkgconfig/clrxamdasm.pc.in"
23        "${PROJECT_BINARY_DIR}/pkgconfig/clrxamdasm.pc" @ONLY)
24CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/pkgconfig/clrxamdbin.pc.in"
25        "${PROJECT_BINARY_DIR}/pkgconfig/clrxamdbin.pc" @ONLY)
26CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/pkgconfig/clrxutils.pc.in"
27        "${PROJECT_BINARY_DIR}/pkgconfig/clrxutils.pc" @ONLY)
28CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/pkgconfig/clrxclhelper.pc.in"
29        "${PROJECT_BINARY_DIR}/pkgconfig/clrxclhelper.pc" @ONLY)
30
31SET(PKGCONFIG_INSTALL_DIR ${LIB_INSTALL_DIR}/pkgconfig)
32INSTALL(FILES "${PROJECT_BINARY_DIR}/pkgconfig/clrxamdasm.pc"
33              "${PROJECT_BINARY_DIR}/pkgconfig/clrxamdbin.pc"
34              "${PROJECT_BINARY_DIR}/pkgconfig/clrxutils.pc"
35              "${PROJECT_BINARY_DIR}/pkgconfig/clrxclhelper.pc"
36              DESTINATION "${PKGCONFIG_INSTALL_DIR}")
Note: See TracBrowser for help on using the repository browser.