SVN commit 4519 by miwi:

- Remove CMAKE_BUILD_TYPE

CMAKE_BUILD_TYPE only affects compiler FLAGS and linking with specific
library versions  (debug |optimized | general).

In our case external libraries reside in other ports and only install
one version (no separate debug/optimized). Also, the ports system
provide correct compiler flags (-g and no optimizations when WITH_DEBUG
is used). Thus, cmake buildtypes only add extra compiler flags. Ports will
be built correctly both by default and for WITH_DEBUG case.

- Also, change WRKSRC to CONFIGURE_WRKSRC. (use CONFIGURE_WRKSRC for configure
  target instead of WRKSRC)

PR:             126507
Submitted by:   amdmi3@


 M  +5 -8      bsd.cmake.mk  


_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to