Changeset 80 in pacpusframework for trunk/cmake/PacpusPlatforms.cmake


Ignore:
Timestamp:
Feb 20, 2013, 12:10:18 PM (12 years ago)
Author:
morasjul
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusPlatforms.cmake

    r64 r80  
    1111# GCC-Based compilers
    1212# ========================================
    13 if("${CMAKE_CXX_COMPILER}" MATCHES "gcc|icc|clang")
     13if("${CMAKE_C_COMPILER}" MATCHES "gcc|icc|clang")
    1414    pacpus_info("The libraries will be compiled with -fPIC")
    1515    list(APPEND PACPUS_DEFINITIONS " -fPIC ")
Note: See TracChangeset for help on using the changeset viewer.