Questions tagged [cmake-language]

0

votes
1

answer
15

Views

I want to Integrate ODBC in my Code for both linux and windows using CMakeLists.txt but its only working in windows

I am currently working on a project which requires SQL database. I want to make project platform independent so i am writing CMakeLists.txt but unfortunately its not working with linux currrently I have this part in CmakeLists.txt find_package(ODBC) TARGET_LINK_LIBRARIES(${PROJECT_NAME}_component $...
user1993504
1

votes
0

answer
15

Views

How can I ignore all cmake dev warnings from subdirectories?

I am using a few external libraries that are included as git submodules using the add_subdirectory command. Some of them are using old versions of cmake and they're issuing warnings about policies CMP0048 and CMP0077. Is there a way to turn off all cmake warnings for these libraries? I've tried exp...
Person93