base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12 (#356361)
[NixPkgs.git] / pkgs / tools / graphics / waifu2x-converter-cpp / waifu2x_darwin_build.diff
blob2a6a83c5ee80714cf81025d1e96cd3b1a00dab2d
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 8b728b5..dedf8b6 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -71,10 +71,6 @@ message(STATUS "System is: ${CMAKE_SYSTEM_NAME} (${LOCAL_SYS_TYPE})")
7 ### Get binary paths for APPLE users
8 if(APPLE AND CMAKE_CXX_COMPILER_ID MATCHES "^(Apple)?Clang$")
9 - set(CMAKE_C_COMPILER "/usr/local/opt/llvm/bin/clang")
10 - set(CMAKE_CXX_COMPILER "/usr/local/opt/llvm/bin/clang++")
11 - set(CMAKE_EXE_LINKER_FLAGS "-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib")
12 - set(CMAKE_SHARED_LINKER_FLAGS "-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib")
13 if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0)
14 set(FILE_SYSTEM_LIB "c++fs")
15 endif()