Skip to content

Static libraries is hard coded #18

Description

@kpu

I understand static libraries can be a useful option, but hard coding only static libraries is bad practice.

set(CMAKE_FIND_LIBRARY_SUFFIXES .a)

For example, this won't compile on Gentoo by default with the error

CMake Error at CMakeLists.txt:70 (message):
  Cannot find pcre2 libraries.  Terminating.

even though libpcre2 is installed, just the dynamic version.

While it currently blames on @XapaJIaMnu, the history shows this is simply an indentation of code that started with @ugermann

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions