Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5971941
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T20:35:16+00:00 2026-05-22T20:35:16+00:00

Fedora 15 cmake version 2.8.4 I am using the following CMakeLists.txt. However the status

  • 0
Fedora 15
cmake version 2.8.4

I am using the following CMakeLists.txt. However the status message doesn’t display when I run cmake .

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

PROJECT(proj2 C)

IF(CMAKE_COMPILER_IS_GNUCXX)
    MESSAGE(STATUS "==== GCC detected - Adding compiler flags")
    SET(CMAKE_C_FLAGS "-pthread -ggdb -Wextra -Wall")
ENDIF(CMAKE_COMPILER_IS_GNUCXX)

ADD_EXECUTABLE(crypto_app main.c)

TARGET_LINK_LIBRARIES(crypto_app crypt)

All I get is the following:

-- The C compiler identification is GNU
-- Check for working C compiler: /usr/lib64/ccache/gcc
-- Check for working C compiler: /usr/lib64/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/projects/proj1/

Many thanks for any suggestions about this.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T20:35:17+00:00Added an answer on May 22, 2026 at 8:35 pm

    You’re telling cmake that it’s a C project, and then checking for a CXX (i.e. C++) compiler. CMAKE_COMPILER_IS_GNUCXX will never be true in this case. That’s why.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Fedora 10 . If I write java -version in terminal, it
I'm using Fedora 15 64bit and python 2.7 When I run python test.py from
I'm using g++ under Fedora to compile an openGL project, which has the line:
Using Fedora 12: mkfifo pipe creates a pipe. When I use the following code
Fedora using right now (package is installed Package rxtx-2.2-0.5.20100211.fc15.i686 already installed and latest version
Im using virtualenv on Fedora 16 and Ive just created a new virtualenv so
I just installed xcache on my server (Fedora 16) following the tutorial on http://xcache.lighttpd.net/wiki/InstallFromSource
I am using Fedora, and bash to do some text manipulation with the files
I am using fedora/mozilla for my development enviorment. I am using margin: 0 auto;
I am using Fedora linux where ulimit -n 10000 increases file limit upto 10000.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.