···5566cmake_policy(SET CMP0005 NEW)
7788-if(FLATPAK_BUILD)
99- # Flatpak, by default, adds additional compiler/linker arugments to cmake. This,
1010- # unfortunately, causes issues with our built macOS linker. As a workaround,
1111- # we set Flatpak to not add any additional arguments. However, this means we are
1212- # responsible for referencing the non-standard directories.
1313-1414- # For more details, refer to the following issue:
1515- # https://github.com/darlinghq/darling/issues/1113
1616-1717- link_directories("/app/lib")
1818-endif(FLATPAK_BUILD)
1919-208set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
219include(mig)
2210include(pyc)
+12
src/bsdln/CMakeLists.txt
···11project(bsdln)
2233+if(FLATPAK_BUILD)
44+ # Flatpak, by default, adds additional compiler/linker arugments to cmake. This,
55+ # unfortunately, causes issues with our built macOS linker. As a workaround,
66+ # we set Flatpak to not add any additional arguments. However, this means we are
77+ # responsible for referencing the non-standard directories.
88+99+ # For more details, refer to the following issue:
1010+ # https://github.com/darlinghq/darling/issues/1113
1111+1212+ link_directories("/app/lib")
1313+endif(FLATPAK_BUILD)
1414+315add_executable(bsdln
416 ln.c
517)