aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2011-09-11 10:04:09 +0800
committerrakuco <rakuco@FreeBSD.org>2011-09-11 10:04:09 +0800
commit5e71c8d732595c475439826ea7d1ec1e059434e2 (patch)
treefae647f5b04350263eef446351e2ad2c411a4980 /Mk
parentaa5f8366cd154164cb59706ff4a592727ea5da4b (diff)
downloadfreebsd-ports-gnome-5e71c8d732595c475439826ea7d1ec1e059434e2.tar.gz
freebsd-ports-gnome-5e71c8d732595c475439826ea7d1ec1e059434e2.tar.zst
freebsd-ports-gnome-5e71c8d732595c475439826ea7d1ec1e059434e2.zip
- Remove the patch that was clearing default build flags for build
profiles, so that CMake can be used outside of ports. - Bump CMake PORTREVISION. - Pass default build flags (at least I hope) via bsd.cmake.mk. PR: 159276 Submitted by: Igor Soumenkov <2igosha@gmail.com> Approved by: avilla (mentor)
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.cmake.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/bsd.cmake.mk b/Mk/bsd.cmake.mk
index 4bdcd1021725..3bfad7cc03bd 100644
--- a/Mk/bsd.cmake.mk
+++ b/Mk/bsd.cmake.mk
@@ -53,7 +53,11 @@ CMAKE_ENV?= ${CONFIGURE_ENV}
CMAKE_ARGS+= -DCMAKE_C_COMPILER:STRING="${CC}" \
-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
+ -DCMAKE_C_FLAGS_DEBUG:STRING="${CFLAGS}" \
+ -DCMAKE_C_FLAGS_RELEASE:STRING="${CFLAGS}" \
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
+ -DCMAKE_CXX_FLAGS_DEBUG:STRING="${CXXFLAGS}" \
+ -DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS}" \
-DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \
-DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
-DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES