1
General / Re: cmake dependecies link
« on: July 07, 2021, 10:33:43 am »
Thanks for nice sources! But could you help me with this?
Exact error I get is:
But when I call cmake without parameters, cmake (so I just call "-cmake ../..") builds fine but it isnt usable, what's strange is that it sees openal and other dependiences. I looked for linking libraries and includes in cmake's documentation but it doesnt do anything at all. Cmake seems to ignore it
Could you help what should I write and where (in cmd or in cmakelists.txt)?
Exact error I get is:
Code: [Select]
CMake Error at D:/path_to_cmake/cmake-3.21.0-rc2-windows-x86_64/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenAL (missing: OPENAL_LIBRARY OPENAL_INCLUDE_DIR)
But when I call cmake without parameters, cmake (so I just call "-cmake ../..") builds fine but it isnt usable, what's strange is that it sees openal and other dependiences. I looked for linking libraries and includes in cmake's documentation but it doesnt do anything at all. Cmake seems to ignore it
Could you help what should I write and where (in cmd or in cmakelists.txt)?