Arni

Results 33 comments of Arni

I've dug into this, and it seems `git apply` is so tangled with git base directory that it's almost impossible to use... [stackoverflow link](https://stackoverflow.com/questions/42386491/git-apply-skips-patches) Also, if you don't have `apply`...

@ScottBailey I don't believe it does something ( it's only presence of thing in CPM ) ![image](https://github.com/cpm-cmake/CPM.cmake/assets/58738099/2b3b433f-a599-4a46-bb56-349ffd31470d) Here's just [search at codebase of cpm ](https://github.com/search?q=repo%3Acpm-cmake%2FCPM.cmake+patch&type=code) for word `patch`

I've given such command to CPM....(PATCH_COMMAND): ``` /usr/bin/patch -rnN -p1 < /home/paxu/code/experiments/ModernCppStarterCPMBoostExample/patches/boost/boost_cmake_enable_install_rules_for_add_subdirectory_case.patch /home/paxu/code/experiments/ModernCppStarterCPMBoostExample/patches/boost/boost_cmake_give_all_boost_deps_please.patch ``` But it doesn't work Example I tried: ``` set(TRY_BOOST_VERSION "1.84.0") set(BOOST_NOT_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED "thread") set(BOOST_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED "asio") set(BOOST_INCLUDE_LIBRARIES "${BOOST_NOT_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED};${BOOST_HEADER_ONLY_COMPONENTS_THAT_YOU_NEED}"...

> PATCH_COMMAND > "${Patch_EXECUTABLE}" ${PATCH_ARGS} -p1 < "${CMAKE_CURRENT_SOURCE_DIR}/patches/boost/000boost.patch" > I know this works. And maybe you/CPM have your quotes in the wrong place? It seems to not to. Example I...

Like you can clone my repo for example and try it in docker: https://github.com/Gerodote/ModernCppStarterExampleBoostCmake `git clone https://github.com/Gerodote/ModernCppStarterExampleBoostCmake` `cd ModernCppStarterExampleBoostCmake` `docker build .` ( yes, it's gonna compile git and almost...

Yep, it works I tried some stuff. 1. It seems `PATCH_COMMAND` only works if its value is a list of strings, not one string 3. here's the working example with...

Not sure about your statement. when just in kitty ![Screenshot_20240425_121727](https://github.com/clangen/musikcube/assets/58738099/a9379480-97b6-4d29-a59c-f77acefb9b9e) when kitty -> tmux : ![Screenshot_20240425_121825](https://github.com/clangen/musikcube/assets/58738099/f9a39045-4c42-41a1-bcff-236b04f8c1b7)

@quasar-pankaj you can check my NvChad config. https://github.com/Gerodote/Nvchad_config_cpp