Closed diamant3 closed 4 weeks ago
It seems that there's also another file for CMake: lept.pc.cmake.
Used like this:
configure_file(lept.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/lept.pc.in @ONLY) # to resolve generator expression in OUTPUT_NAME file( GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/lept_$<CONFIG>.pc INPUT ${CMAKE_CURRENT_BINARY_DIR}/lept.pc.in) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lept_$<CONFIG>.pc DESTINATION lib/pkgconfig)
Thanks. I think that's the issue with the pc filename. Anything I put to -DCMAKE_BUILD_TYPE= it results in lept_(input from -DCMAKE_BUILD_TYPE=) 😢
-DCMAKE_BUILD_TYPE=
Thanks!
It seems that there's also another file for CMake: lept.pc.cmake.
Used like this: