source: pacpusframework/branches/0.0.x/cmake/PacpusPlatforms.cmake

Last change on this file was 80, checked in by morasjul, 12 years ago

minor fix cocerning FindPacpus in case or Pacpus not found but not required
minor fix concerning -fpic option

  • Property svn:keywords set to Id
File size: 674 bytes
Line 
1#################################################
2# ___________ ____ ______ __ __ _____ #
3# \____ \__ \ _/ ___\\____ \| | \/ ___/ #
4# | |_> > __ \\ \___| |_> > | /\___ \ #
5# | __(____ /\___ > __/|____//____ > #
6# |__| \/ \/|__| \/ #
7# #
8#################################################
9
10# ========================================
11# GCC-Based compilers
12# ========================================
13if("${CMAKE_C_COMPILER}" MATCHES "gcc|icc|clang")
14 pacpus_info("The libraries will be compiled with -fPIC")
15 list(APPEND PACPUS_DEFINITIONS " -fPIC ")
16endif()
Note: See TracBrowser for help on using the repository browser.