- Fix CMAKE_BUILD_TYPE usage
Approved by: maintainers
This commit is contained in:
parent
9351c1123f
commit
a1b0bf4936
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335561
2 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,8 @@ NO_STAGE= yes
|
||||||
.if defined(WITH_SYNC_DEBUG)
|
.if defined(WITH_SYNC_DEBUG)
|
||||||
CFLAGS= # empty
|
CFLAGS= # empty
|
||||||
CXXFLAGS= # empty
|
CXXFLAGS= # empty
|
||||||
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=DEBUG2 -DTRACE_SYNC=true -DSYNCDEBUG=true
|
CMAKE_ARGS+= -DTRACE_SYNC=true -DSYNCDEBUG=true
|
||||||
|
CMAKE_BUILD_TYPE= DEBUG2
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
|
|
@ -17,7 +17,6 @@ GH_COMMIT= 23afbcc
|
||||||
|
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USES= cmake:outsource
|
USES= cmake:outsource
|
||||||
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=release
|
|
||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
PORTEXAMPLES= *
|
PORTEXAMPLES= *
|
||||||
|
|
Loading…
Reference in a new issue