Stackoverflow Com Questions 43811569 Cmake Target Include Directories Cant Find Header Files
Stackoverflow Com Questions 43811569 Cmake Target Include Directories Cant Find Header Files
Asked 6 years, 10 months ago Modified 6 years, 10 months ago Viewed 16k times
CMake cannot seem to find the header, even though I've explicitly described where it is located in
Featured on Meta
my file-system. According to the documentation for target_include_directories() , that should
be enough: New Focus Styles & Updated Styling for
Button Groups
Specified include directories may be absolute paths or relative paths. Repeated calls for Upcoming initiatives on Stack Overflow
the same append items in the order called. and across the Stack Exchange network
In order to access SQLite C++ functions I've also downloaded SQLite3's amalgamated source 71
CMake: target_include_directories() prints
an error when I try to add the source
code and stored all source files in C:\Libraries\64_bit\SQLite3\include\ . directory itself, or one of its subdirectories
1 CMake uses / as directory separator internally. Can you try with that instead of `\`? Is the age of the Earth in the novel "The
– Angew is no longer proud of SO May 5, 2017 at 18:34 Hitchhiker's Guide to the Galaxy" 10 million years?
@Angew Just tried that, it didn't change anything. Still, good to know - I assumed the file separator would be Can a Nova occur outside of a binary star system?
system-dependent. – Vladislav Martin May 5, 2017 at 18:36 Is there a way to stop students using AI to
generate essays?
The whole point of using CMake is to be system-independent. – Angew is no longer proud of SO May 5,
Link command in terminal vs ln vs symbolic link (ln
2017 at 18:37
-s) differences between them?
1 If in the background CMake produces a Makefile, try VERBOSE=1 make to see which command is being How to disclose previous job being terminated
called. Also, try setting your path for INCLUDE_DIRS between quotes " – oLen May 5, 2017 at 19:40 without cause (because of high level security
clearance)
1 It's because cmake is a horrid piece of trash, Same problem, two years ago, never worked after playing 20
Why Don't Electrons "Try" to Flow in an Open
questions on here. Ditched it completely. All better. (Double quotes didn't work for me) – BadZen Mar 17, Circuit?
2021 at 21:16
How to install a curtain rod with a perpendicular
Show 4 more comments wall on one side
1 Answer Sorted by: Highest score (default) In The Shadow of the Torturer, the torturers live in
a tower made from metal. Is it ever stated that this
tower is a long disused spaceship?
You can run into problems if you don't put paths between quotes. Exhaustion by compact sets eventually include
fixed compact set.
Thus it is a good idea to write:
6 What is this celestial phenomenon in the video?
SQLite3 library:
Share Improve this answer Follow edited May 5, 2017 at 20:36 answered May 5, 2017 at 20:22
Vladislav Martin oLen
1,564 2 15 34 5,327 1 35 49
Edited to include the additional bit I figured out on how to find the .dll now that the header files are taken
care of (as per your answer, which is all my question asked for). Accepted :) – Vladislav Martin May 5,
2017 at 20:30
I've been messing with CMake for 2 days and all I missed was just double-quotes!? Thank you man!!!
– offchan Apr 18, 2019 at 9:23
Add a comment
Your Answer
Post Your By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our
Answer privacy policy.
Not the answer you're looking for? Browse other questions tagged c++ cmake clion or ask
your own question.
STACK OVERFLOW PRODUCTS COMPANY STACK EXCHANGE NETWORK Blog Facebook Twitter LinkedIn Instagram