[CMake] Configure never ends when changing compiler

David Demelier demelier.david at gmail.com
Mon Jun 3 06:08:19 EDT 2013


Hi there,

After doing a CMake generation, if I try to change the C compiler by
doing cmake -DCMAKE_C_COMPILER=/usr/bin/clang it configures again but
never ends, see :

Installation directories:
        PREFIX          /usr/local
        MANDIR          /usr/local/share/man
        DOCDIR          /usr/local/share/doc/irccd
        MODDIR          /usr/local/share/irccd/modules

Compiling irccd with following options:
        Lua support:    enabled
        Unit tests:     disabled
        Default config: /usr/local/etc/irccd.conf

-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= /usr/bin/clang

-- Looking for getopt
-- Looking for getopt - found
-- Looking for setprogname
-- Looking for setprogname - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Found XDG: /usr/local/include
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found
version "0.9.8x")
-- Found LIBIRCCLIENT: /usr/local/include
Installation directories:
        PREFIX          /usr/local
        MANDIR          /usr/local/share/man
        DOCDIR          /usr/local/share/doc/irccd
        MODDIR          /usr/local/share/irccd/modules

Compiling irccd with following options:
        Lua support:    enabled
        Unit tests:     disabled
        Default config: /usr/local/etc/irccd.conf

-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= /usr/bin/clang

-- Looking for getopt
-- Looking for getopt - found
-- Looking for setprogname
-- Looking for setprogname - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Found XDG: /usr/local/include
-- Found OpenSSL: /usr/lib/libssl.so;/usr/lib/libcrypto.so (found
version "0.9.8x")
-- Found LIBIRCCLIENT: /usr/local/include
Installation directories:
        PREFIX          /usr/local
        MANDIR          /usr/local/share/man
        DOCDIR          /usr/local/share/doc/irccd
        MODDIR          /usr/local/share/irccd/modules

Compiling irccd with following options:
        Lua support:    enabled
        Unit tests:     disabled
        Default config: /usr/local/etc/irccd.conf

-- Configuring done
You have changed variables that require your cache to be deleted.
Configure will be re-run and you may have to reset some variables.
The following variables have changed:
CMAKE_C_COMPILER= /usr/bin/clang

-- Looking for getopt
^C

Is this a known issue?

Cheers,

--
Demelier David


More information about the CMake mailing list