Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work on linux cmake 3.10.2 #26

Open
EngiBob opened this issue Dec 30, 2018 · 3 comments
Open

Doesn't work on linux cmake 3.10.2 #26

EngiBob opened this issue Dec 30, 2018 · 3 comments

Comments

@EngiBob
Copy link

EngiBob commented Dec 30, 2018

-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at build/cmake/CMakePCHCompiler/CMakePCHCompiler.cmake:39 (message):
Precompiled headers not supported for
Call Stack (most recent call first):
src/librender/CMakeLists.txt:9 (target_precompiled_header)
-- Generating done

Looking at the source it is missing CMAKE_PCH_COMPILER_LANGUAGE

If I set CMAKE_PCH_COMPILER_LANGUAGE to CXX the following error comes up:

CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_CXXPCH_COMPILE_OBJECT

@EngiBob
Copy link
Author

EngiBob commented Dec 30, 2018

I may be including it wrong.

@EngiBob
Copy link
Author

EngiBob commented Dec 30, 2018

Confirmed

@nanoant
Copy link
Owner

nanoant commented Apr 29, 2019

Can you please provide a minimal CMakeLists.txt example showing the problem? I have CMake 3.14.2 and it seems to work for me.

@nanoant nanoant self-assigned this Apr 30, 2019
@nanoant nanoant removed their assignment May 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants