Comments (6)
No, this was fixed in 3.7 or 3.8, I should add a version check actually.
The enable_language()
are probably required. What errors do they cause?
from boost-cmake.
I have met the same problem with Zephyr project.
enable_languages
helped. Thank you, @Orphis
enable_language( C CXX ASM )
from boost-cmake.
I did some toying around and made some changes that fix it.
I commented this out in the root CMakeLists.txt:
set(CMAKE_ASM_COMPILER_TARGET "${CMAKE_CXX_COMPILER_TARGET}")
Then in lib/context.cmake
, commented out each call to enable_language()
. Are these required? I'm using CMake 3.9.0-rc5.
from boost-cmake.
I posted the error above a little bit. All I can tell you is that it doesn't work. I'm assuming by 3.7 3.8 you mean CMake version.
from boost-cmake.
Is this still an issue?
from boost-cmake.
Probably not, since my fork of your repo no longer has these changes, and seems to work fine. I'll close for now. If I run into the issue again, I'll reopen.
from boost-cmake.
Related Issues (20)
- Cannot compile boost 1.7.6 HOT 1
- as of boost 1.76.0 regex becomes header only
- Boost_INCLUDE_DIR is not getting set
- the right way to enable/disable Boost features in main CMake script?
- Doesn't work with Windows 11 and VS 22 HOT 2
- Enable /MP for parallel builds with MSVC HOT 1
- Download fails when multiple configurations are generated in parallel HOT 6
- Clarity on README installation HOT 11
- Feature Request : checking in partial boost trees. HOT 4
- Android Issues HOT 6
- Add option to support building boost dynamic library HOT 6
- "Fetching Boost" happens every time I configure HOT 1
- Usage with find_package REQUIRED etc. HOT 1
- 403 Forbidden downloading https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.bz2 HOT 9
- Changing the BOOST_URL leads to linking error HOT 3
- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
- Can I use it to cross compile boost for ARM ?
- Store result of try compile in cache variable?
- Add tags for boost versions HOT 3
- Cross compilation issue from linux to windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boost-cmake.